0s autopkgtest [02:16:15]: starting date and time: 2024-02-21 02:16:15+0000 0s autopkgtest [02:16:15]: git checkout: ddd5d91 ssh-setup/nova: Use `openstack network show` in preference to `nova` 0s autopkgtest [02:16:15]: host juju-7f2275-prod-proposed-migration-environment-2; command line: /home/ubuntu/autopkgtest/runner/autopkgtest --output-dir /tmp/autopkgtest-work.et4023wm/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-arm64-13.secgroup --name adt-noble-arm64-ruby-rspec-puppet-20240221-021615-juju-7f2275-prod-proposed-migration-environment-2 --image adt/ubuntu-noble-arm64-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/ 505s autopkgtest [02:24:40]: testbed dpkg architecture: arm64 507s autopkgtest [02:24:42]: testbed apt version: 2.7.11 507s autopkgtest [02:24:42]: @@@@@@@@@@@@@@@@@@@@ test bed setup 508s Get:1 http://ftpmaster.internal/ubuntu noble-proposed InRelease [117 kB] 513s Get:2 http://ftpmaster.internal/ubuntu noble-proposed/main Sources [94.4 kB] 513s Get:3 http://ftpmaster.internal/ubuntu noble-proposed/universe Sources [794 kB] 514s Get:4 http://ftpmaster.internal/ubuntu noble-proposed/multiverse Sources [15.1 kB] 514s Get:5 http://ftpmaster.internal/ubuntu noble-proposed/restricted Sources [9892 B] 514s Get:6 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 Packages [211 kB] 514s Get:7 http://ftpmaster.internal/ubuntu noble-proposed/main arm64 c-n-f Metadata [3144 B] 514s Get:8 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 Packages [51.9 kB] 514s Get:9 http://ftpmaster.internal/ubuntu noble-proposed/restricted arm64 c-n-f Metadata [116 B] 514s Get:10 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 Packages [949 kB] 515s Get:11 http://ftpmaster.internal/ubuntu noble-proposed/universe arm64 c-n-f Metadata [8528 B] 515s Get:12 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 Packages [4980 B] 515s Get:13 http://ftpmaster.internal/ubuntu noble-proposed/multiverse arm64 c-n-f Metadata [116 B] 561s Fetched 2260 kB in 13s (173 kB/s) 562s Reading package lists... 626s Reading package lists... 629s Building dependency tree... 629s Reading state information... 634s Calculating upgrade... 638s The following packages will be upgraded: 638s libplymouth5 plymouth plymouth-theme-ubuntu-text python3-pygments 639s 4 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 639s Need to get 1103 kB of archives. 639s After this operation, 75.8 kB of additional disk space will be used. 639s Get:1 http://ftpmaster.internal/ubuntu noble/main arm64 python3-pygments all 2.17.2+dfsg-1 [819 kB] 640s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 libplymouth5 arm64 24.004.60-1ubuntu3 [139 kB] 640s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 plymouth-theme-ubuntu-text arm64 24.004.60-1ubuntu3 [9818 B] 640s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 plymouth arm64 24.004.60-1ubuntu3 [135 kB] 647s Fetched 1103 kB in 1s (815 kB/s) 651s (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 ... 74296 files and directories currently installed.) 651s Preparing to unpack .../python3-pygments_2.17.2+dfsg-1_all.deb ... 656s Unpacking python3-pygments (2.17.2+dfsg-1) over (2.15.1+dfsg-1) ... 660s Preparing to unpack .../libplymouth5_24.004.60-1ubuntu3_arm64.deb ... 660s Unpacking libplymouth5:arm64 (24.004.60-1ubuntu3) over (24.004.60-1ubuntu2) ... 660s Preparing to unpack .../plymouth-theme-ubuntu-text_24.004.60-1ubuntu3_arm64.deb ... 660s Unpacking plymouth-theme-ubuntu-text (24.004.60-1ubuntu3) over (24.004.60-1ubuntu2) ... 661s Preparing to unpack .../plymouth_24.004.60-1ubuntu3_arm64.deb ... 664s Unpacking plymouth (24.004.60-1ubuntu3) over (24.004.60-1ubuntu2) ... 665s Setting up python3-pygments (2.17.2+dfsg-1) ... 684s Setting up libplymouth5:arm64 (24.004.60-1ubuntu3) ... 684s Setting up plymouth (24.004.60-1ubuntu3) ... 685s update-initramfs: Generating /boot/initrd.img-6.6.0-14-generic 685s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1110s flash-kernel: deferring update (trigger activated) 1110s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1118s update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults 1126s Setting up plymouth-theme-ubuntu-text (24.004.60-1ubuntu3) ... 1126s update-initramfs: deferring update (trigger activated) 1126s Processing triggers for man-db (2.12.0-3) ... 1136s Processing triggers for libc-bin (2.38-3ubuntu1) ... 1137s Processing triggers for flash-kernel (3.107ubuntu4) ... 1143s System running in EFI mode, skipping. 1143s Processing triggers for initramfs-tools (0.142ubuntu19) ... 1144s update-initramfs: Generating /boot/initrd.img-6.6.0-14-generic 1144s W: No lz4 in /usr/bin:/sbin:/bin, using gzip 1584s System running in EFI mode, skipping. 1591s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list.d/ubuntu.sources:1 1591s W: Target Packages (main/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (main/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (main/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target Packages (restricted/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (restricted/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (restricted/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target Packages (universe/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (universe/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (universe/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target Packages (multiverse/binary-arm64/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (multiverse/cnf/Commands-arm64) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1591s W: Target CNF (multiverse/cnf/Commands-all) is configured multiple times in /etc/apt/sources.list:3 and /etc/apt/sources.list.d/ubuntu.sources:2 1594s Reading package lists... 1597s Building dependency tree... 1597s Reading state information... 1605s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1618s sh: Attempting to set up Debian/Ubuntu apt sources automatically 1618s sh: Distribution appears to be Ubuntu 1640s Reading package lists... 1644s Building dependency tree... 1644s Reading state information... 1656s eatmydata is already the newest version (131-1). 1656s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1659s Reading package lists... 1664s Building dependency tree... 1664s Reading state information... 1676s dbus is already the newest version (1.14.10-3ubuntu1). 1677s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1680s Reading package lists... 1686s Building dependency tree... 1687s Reading state information... 1699s rng-tools-debian is already the newest version (2.4). 1699s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1704s Reading package lists... 1711s Building dependency tree... 1711s Reading state information... 1724s The following packages will be REMOVED: 1724s cloud-init* python3-configobj* python3-debconf* 1734s 0 upgraded, 0 newly installed, 3 to remove and 0 not upgraded. 1734s After this operation, 3227 kB disk space will be freed. 1736s (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 ... 74313 files and directories currently installed.) 1736s Removing cloud-init (24.1~6ga4140119-0ubuntu1) ... 1764s Removing python3-configobj (5.0.8-3) ... 1769s Removing python3-debconf (1.5.82) ... 1773s Processing triggers for man-db (2.12.0-3) ... 1783s (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 ... 73925 files and directories currently installed.) 1783s Purging configuration files for cloud-init (24.1~6ga4140119-0ubuntu1) ... 1816s dpkg: warning: while removing cloud-init, directory '/etc/cloud/cloud.cfg.d' not empty so not removed 1817s Processing triggers for rsyslog (8.2312.0-3ubuntu3) ... 1819s invoke-rc.d: policy-rc.d denied execution of try-restart. 1837s Reading package lists... 1846s Building dependency tree... 1846s Reading state information... 1854s linux-generic is already the newest version (6.6.0-14.14). 1854s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1858s Hit:1 http://ftpmaster.internal/ubuntu noble InRelease 1858s Hit:2 http://ftpmaster.internal/ubuntu noble-updates InRelease 1858s Hit:3 http://ftpmaster.internal/ubuntu noble-security InRelease 1933s Reading package lists... 1935s Reading package lists... 1939s Building dependency tree... 1939s Reading state information... 1949s Calculating upgrade... 1956s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1959s Reading package lists... 1964s Building dependency tree... 1964s Reading state information... 1973s 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1975s autopkgtest [02:49:10]: rebooting testbed after setup commands that affected boot 2173s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2206s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2239s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2272s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2305s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2338s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2371s autopkgtest-virt-ssh: WARNING: ssh connection failed. Retrying in 3 seconds... 2413s autopkgtest [02:56:28]: testbed running kernel: Linux 6.6.0-14-generic #14-Ubuntu SMP PREEMPT_DYNAMIC Thu Nov 30 10:53:08 UTC 2023 2446s autopkgtest [02:57:01]: @@@@@@@@@@@@@@@@@@@@ apt-source ruby-rspec-puppet 2486s Get:1 http://ftpmaster.internal/ubuntu noble/universe ruby-rspec-puppet 2.9.0+ds-1 (dsc) [1607 B] 2486s Get:2 http://ftpmaster.internal/ubuntu noble/universe ruby-rspec-puppet 2.9.0+ds-1 (tar) [83.5 kB] 2486s Get:3 http://ftpmaster.internal/ubuntu noble/universe ruby-rspec-puppet 2.9.0+ds-1 (diff) [4904 B] 2496s gpgv: Signature made Sat Oct 15 21:48:34 2022 UTC 2496s gpgv: using EDDSA key C0AB4E11BF6C5B96ABFF7AEE69C52F658E988542 2496s gpgv: Can't check signature: No public key 2497s dpkg-source: warning: cannot verify inline signature for ./ruby-rspec-puppet_2.9.0+ds-1.dsc: no acceptable signature found 2504s autopkgtest [02:57:59]: testing package ruby-rspec-puppet version 2.9.0+ds-1 2509s autopkgtest [02:58:04]: build not needed 2515s autopkgtest [02:58:10]: test gem2deb-test-runner: preparing testbed 2536s Reading package lists... 2541s Building dependency tree... 2541s Reading state information... 2549s Starting pkgProblemResolver with broken count: 0 2552s Starting 2 pkgProblemResolver with broken count: 0 2552s Done 2566s The following additional packages will be installed: 2566s augeas-lenses facter gem2deb-test-runner hiera libaugeas0 libruby libruby3.1 2566s puppet puppet-agent puppet-module-puppetlabs-augeas-core 2566s puppet-module-puppetlabs-stdlib rake ruby ruby-augeas ruby-concurrent 2566s ruby-deep-merge ruby-diff-lcs ruby-hocon ruby-net-telnet ruby-rbtree 2566s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 2566s ruby-rspec-puppet ruby-rspec-support ruby-rubygems ruby-sdbm 2566s ruby-semantic-puppet ruby-shadow ruby-sorted-set ruby-thor ruby-webrick 2566s ruby-xmlrpc ruby3.1 rubygems-integration 2566s Suggested packages: 2566s augeas-doc mcollective-common augeas-tools hiera-eyaml 2566s puppet-module-puppetlabs-cron-core puppet-module-puppetlabs-host-core 2566s puppet-module-puppetlabs-mount-core puppet-module-puppetlabs-selinux-core 2566s puppet-module-puppetlabs-sshkeys-core ruby-msgpack ri ruby-dev bundler 2566s Recommended packages: 2566s ruby-sys-filesystem virt-what augeas-tools debconf-utils ruby-selinux zip 2566s fonts-lato libjs-jquery 2568s The following NEW packages will be installed: 2568s augeas-lenses autopkgtest-satdep facter gem2deb-test-runner hiera libaugeas0 2568s libruby libruby3.1 puppet puppet-agent puppet-module-puppetlabs-augeas-core 2568s puppet-module-puppetlabs-stdlib rake ruby ruby-augeas ruby-concurrent 2568s ruby-deep-merge ruby-diff-lcs ruby-hocon ruby-net-telnet ruby-rbtree 2568s ruby-rspec ruby-rspec-core ruby-rspec-expectations ruby-rspec-mocks 2568s ruby-rspec-puppet ruby-rspec-support ruby-rubygems ruby-sdbm 2568s ruby-semantic-puppet ruby-shadow ruby-sorted-set ruby-thor ruby-webrick 2568s ruby-xmlrpc ruby3.1 rubygems-integration 2569s 0 upgraded, 37 newly installed, 0 to remove and 0 not upgraded. 2569s Need to get 8442 kB/8443 kB of archives. 2569s After this operation, 47.5 MB of additional disk space will be used. 2569s Get:1 /tmp/autopkgtest.XybdJG/1-autopkgtest-satdep.deb autopkgtest-satdep arm64 0 [768 B] 2569s Get:2 http://ftpmaster.internal/ubuntu noble/main arm64 rubygems-integration all 1.18 [5336 B] 2570s Get:3 http://ftpmaster.internal/ubuntu noble/main arm64 rake all 13.0.6-3 [61.6 kB] 2570s Get:4 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-net-telnet all 0.2.0-1 [13.3 kB] 2570s Get:5 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-webrick all 1.8.1-1 [52.3 kB] 2570s Get:6 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-xmlrpc all 0.3.2-2 [24.8 kB] 2570s Get:7 http://ftpmaster.internal/ubuntu noble/main arm64 libruby arm64 1:3.1+1 [4640 B] 2570s Get:8 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-sdbm arm64 1.0.0-5build3 [17.9 kB] 2570s Get:9 http://ftpmaster.internal/ubuntu noble/main arm64 libruby3.1 arm64 3.1.2-7ubuntu4 [5115 kB] 2574s Get:10 http://ftpmaster.internal/ubuntu noble/main arm64 ruby3.1 arm64 3.1.2-7ubuntu4 [49.0 kB] 2574s Get:11 http://ftpmaster.internal/ubuntu noble/main arm64 ruby-rubygems all 3.4.20-1 [238 kB] 2574s Get:12 http://ftpmaster.internal/ubuntu noble/main arm64 ruby arm64 1:3.1+1 [3464 B] 2574s Get:13 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-hocon all 1.3.1-2 [76.2 kB] 2574s Get:14 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-thor all 1.2.2-1 [47.4 kB] 2574s Get:15 http://ftpmaster.internal/ubuntu noble/universe arm64 facter all 4.3.0-2 [155 kB] 2575s Get:16 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-deep-merge all 1.1.1-2 [9244 B] 2575s Get:17 http://ftpmaster.internal/ubuntu noble/universe arm64 hiera all 3.10.0-1 [23.2 kB] 2575s Get:18 http://ftpmaster.internal/ubuntu noble/universe arm64 augeas-lenses all 1.14.1-1 [323 kB] 2575s Get:19 http://ftpmaster.internal/ubuntu noble/universe arm64 libaugeas0 arm64 1.14.1-1 [163 kB] 2575s Get:20 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-augeas arm64 1:0.5.0+gem-1build3 [11.8 kB] 2575s Get:21 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-concurrent all 1.1.6+dfsg-5build3 [212 kB] 2575s Get:22 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-semantic-puppet all 1.0.4-1 [14.8 kB] 2575s Get:23 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-shadow arm64 2.5.1-1ubuntu1 [10.3 kB] 2575s Get:24 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rbtree arm64 0.4.6-1build1 [27.8 kB] 2575s Get:25 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-sorted-set all 1.0.3-3 [4258 B] 2576s Get:26 http://ftpmaster.internal/ubuntu noble/universe arm64 puppet-agent all 7.23.0-1 [1160 kB] 2576s Get:27 http://ftpmaster.internal/ubuntu noble/universe arm64 gem2deb-test-runner arm64 2.2.2 [18.2 kB] 2576s Get:28 http://ftpmaster.internal/ubuntu noble/universe arm64 puppet all 7.23.0-1 [7984 B] 2576s Get:29 http://ftpmaster.internal/ubuntu noble/universe arm64 puppet-module-puppetlabs-augeas-core all 1.1.2-1 [27.1 kB] 2576s Get:30 http://ftpmaster.internal/ubuntu noble/universe arm64 puppet-module-puppetlabs-stdlib all 8.5.0-1 [131 kB] 2576s Get:31 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-diff-lcs all 1.5.0-1 [23.9 kB] 2576s Get:32 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-support all 3.12.0c0e1m1s0-1 [28.8 kB] 2576s Get:33 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-core all 3.12.0c0e1m1s0-1 [163 kB] 2576s Get:34 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-expectations all 3.12.0c0e1m1s0-1 [89.2 kB] 2576s Get:35 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-mocks all 3.12.0c0e1m1s0-1 [79.4 kB] 2576s Get:36 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec all 3.12.0c0e1m1s0-1 [3506 B] 2576s Get:37 http://ftpmaster.internal/ubuntu noble/universe arm64 ruby-rspec-puppet all 2.9.0+ds-1 [46.5 kB] 2594s Preconfiguring packages ... 2596s Fetched 8442 kB in 8s (1095 kB/s) 2596s Selecting previously unselected package rubygems-integration. 2600s (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 ... 73870 files and directories currently installed.) 2600s Preparing to unpack .../00-rubygems-integration_1.18_all.deb ... 2600s Unpacking rubygems-integration (1.18) ... 2601s Selecting previously unselected package rake. 2601s Preparing to unpack .../01-rake_13.0.6-3_all.deb ... 2601s Unpacking rake (13.0.6-3) ... 2603s Selecting previously unselected package ruby-net-telnet. 2603s Preparing to unpack .../02-ruby-net-telnet_0.2.0-1_all.deb ... 2603s Unpacking ruby-net-telnet (0.2.0-1) ... 2604s Selecting previously unselected package ruby-webrick. 2604s Preparing to unpack .../03-ruby-webrick_1.8.1-1_all.deb ... 2604s Unpacking ruby-webrick (1.8.1-1) ... 2606s Selecting previously unselected package ruby-xmlrpc. 2606s Preparing to unpack .../04-ruby-xmlrpc_0.3.2-2_all.deb ... 2606s Unpacking ruby-xmlrpc (0.3.2-2) ... 2607s Selecting previously unselected package libruby:arm64. 2607s Preparing to unpack .../05-libruby_1%3a3.1+1_arm64.deb ... 2607s Unpacking libruby:arm64 (1:3.1+1) ... 2608s Selecting previously unselected package ruby-sdbm:arm64. 2608s Preparing to unpack .../06-ruby-sdbm_1.0.0-5build3_arm64.deb ... 2608s Unpacking ruby-sdbm:arm64 (1.0.0-5build3) ... 2609s Selecting previously unselected package libruby3.1:arm64. 2610s Preparing to unpack .../07-libruby3.1_3.1.2-7ubuntu4_arm64.deb ... 2610s Unpacking libruby3.1:arm64 (3.1.2-7ubuntu4) ... 2635s Selecting previously unselected package ruby3.1. 2636s Preparing to unpack .../08-ruby3.1_3.1.2-7ubuntu4_arm64.deb ... 2636s Unpacking ruby3.1 (3.1.2-7ubuntu4) ... 2637s Selecting previously unselected package ruby-rubygems. 2637s Preparing to unpack .../09-ruby-rubygems_3.4.20-1_all.deb ... 2637s Unpacking ruby-rubygems (3.4.20-1) ... 2640s Selecting previously unselected package ruby. 2640s Preparing to unpack .../10-ruby_1%3a3.1+1_arm64.deb ... 2641s Unpacking ruby (1:3.1+1) ... 2642s Selecting previously unselected package ruby-hocon. 2643s Preparing to unpack .../11-ruby-hocon_1.3.1-2_all.deb ... 2643s Unpacking ruby-hocon (1.3.1-2) ... 2644s Selecting previously unselected package ruby-thor. 2644s Preparing to unpack .../12-ruby-thor_1.2.2-1_all.deb ... 2644s Unpacking ruby-thor (1.2.2-1) ... 2647s Selecting previously unselected package facter. 2647s Preparing to unpack .../13-facter_4.3.0-2_all.deb ... 2647s Unpacking facter (4.3.0-2) ... 2658s Selecting previously unselected package ruby-deep-merge. 2658s Preparing to unpack .../14-ruby-deep-merge_1.1.1-2_all.deb ... 2658s Unpacking ruby-deep-merge (1.1.1-2) ... 2659s Selecting previously unselected package hiera. 2659s Preparing to unpack .../15-hiera_3.10.0-1_all.deb ... 2660s Unpacking hiera (3.10.0-1) ... 2662s Selecting previously unselected package augeas-lenses. 2663s Preparing to unpack .../16-augeas-lenses_1.14.1-1_all.deb ... 2663s Unpacking augeas-lenses (1.14.1-1) ... 2668s Selecting previously unselected package libaugeas0:arm64. 2669s Preparing to unpack .../17-libaugeas0_1.14.1-1_arm64.deb ... 2669s Unpacking libaugeas0:arm64 (1.14.1-1) ... 2669s Selecting previously unselected package ruby-augeas. 2670s Preparing to unpack .../18-ruby-augeas_1%3a0.5.0+gem-1build3_arm64.deb ... 2670s Unpacking ruby-augeas (1:0.5.0+gem-1build3) ... 2670s Selecting previously unselected package ruby-concurrent. 2671s Preparing to unpack .../19-ruby-concurrent_1.1.6+dfsg-5build3_all.deb ... 2671s Unpacking ruby-concurrent (1.1.6+dfsg-5build3) ... 2675s Selecting previously unselected package ruby-semantic-puppet. 2675s Preparing to unpack .../20-ruby-semantic-puppet_1.0.4-1_all.deb ... 2675s Unpacking ruby-semantic-puppet (1.0.4-1) ... 2677s Selecting previously unselected package ruby-shadow. 2677s Preparing to unpack .../21-ruby-shadow_2.5.1-1ubuntu1_arm64.deb ... 2677s Unpacking ruby-shadow (2.5.1-1ubuntu1) ... 2678s Selecting previously unselected package ruby-rbtree. 2678s Preparing to unpack .../22-ruby-rbtree_0.4.6-1build1_arm64.deb ... 2678s Unpacking ruby-rbtree (0.4.6-1build1) ... 2679s Selecting previously unselected package ruby-sorted-set. 2680s Preparing to unpack .../23-ruby-sorted-set_1.0.3-3_all.deb ... 2680s Unpacking ruby-sorted-set (1.0.3-3) ... 2681s Selecting previously unselected package puppet-agent. 2682s Preparing to unpack .../24-puppet-agent_7.23.0-1_all.deb ... 2683s Unpacking puppet-agent (7.23.0-1) ... 2695s Selecting previously unselected package gem2deb-test-runner. 2695s Preparing to unpack .../25-gem2deb-test-runner_2.2.2_arm64.deb ... 2696s Unpacking gem2deb-test-runner (2.2.2) ... 2696s Selecting previously unselected package puppet. 2696s Preparing to unpack .../26-puppet_7.23.0-1_all.deb ... 2696s Unpacking puppet (7.23.0-1) ... 2697s Selecting previously unselected package puppet-module-puppetlabs-augeas-core. 2697s Preparing to unpack .../27-puppet-module-puppetlabs-augeas-core_1.1.2-1_all.deb ... 2697s Unpacking puppet-module-puppetlabs-augeas-core (1.1.2-1) ... 2699s Selecting previously unselected package puppet-module-puppetlabs-stdlib. 2699s Preparing to unpack .../28-puppet-module-puppetlabs-stdlib_8.5.0-1_all.deb ... 2699s Unpacking puppet-module-puppetlabs-stdlib (8.5.0-1) ... 2702s Selecting previously unselected package ruby-diff-lcs. 2702s Preparing to unpack .../29-ruby-diff-lcs_1.5.0-1_all.deb ... 2702s Unpacking ruby-diff-lcs (1.5.0-1) ... 2703s Selecting previously unselected package ruby-rspec-support. 2703s Preparing to unpack .../30-ruby-rspec-support_3.12.0c0e1m1s0-1_all.deb ... 2703s Unpacking ruby-rspec-support (3.12.0c0e1m1s0-1) ... 2704s Selecting previously unselected package ruby-rspec-core. 2704s Preparing to unpack .../31-ruby-rspec-core_3.12.0c0e1m1s0-1_all.deb ... 2704s Unpacking ruby-rspec-core (3.12.0c0e1m1s0-1) ... 2706s Selecting previously unselected package ruby-rspec-expectations. 2706s Preparing to unpack .../32-ruby-rspec-expectations_3.12.0c0e1m1s0-1_all.deb ... 2706s Unpacking ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 2708s Selecting previously unselected package ruby-rspec-mocks. 2708s Preparing to unpack .../33-ruby-rspec-mocks_3.12.0c0e1m1s0-1_all.deb ... 2708s Unpacking ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 2709s Selecting previously unselected package ruby-rspec. 2709s Preparing to unpack .../34-ruby-rspec_3.12.0c0e1m1s0-1_all.deb ... 2709s Unpacking ruby-rspec (3.12.0c0e1m1s0-1) ... 2711s Selecting previously unselected package ruby-rspec-puppet. 2711s Preparing to unpack .../35-ruby-rspec-puppet_2.9.0+ds-1_all.deb ... 2711s Unpacking ruby-rspec-puppet (2.9.0+ds-1) ... 2712s Selecting previously unselected package autopkgtest-satdep. 2712s Preparing to unpack .../36-1-autopkgtest-satdep.deb ... 2712s Unpacking autopkgtest-satdep (0) ... 2712s Setting up ruby-semantic-puppet (1.0.4-1) ... 2712s Setting up augeas-lenses (1.14.1-1) ... 2713s Setting up rubygems-integration (1.18) ... 2713s Setting up ruby-concurrent (1.1.6+dfsg-5build3) ... 2713s Setting up libaugeas0:arm64 (1.14.1-1) ... 2713s Setting up ruby-net-telnet (0.2.0-1) ... 2713s Setting up ruby-rspec-support (3.12.0c0e1m1s0-1) ... 2713s Setting up ruby-webrick (1.8.1-1) ... 2713s Setting up ruby-deep-merge (1.1.1-2) ... 2713s Setting up puppet-module-puppetlabs-augeas-core (1.1.2-1) ... 2713s 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 2713s Setting up ruby-xmlrpc (0.3.2-2) ... 2713s Setting up ruby-rubygems (3.4.20-1) ... 2713s Setting up rake (13.0.6-3) ... 2714s Setting up libruby3.1:arm64 (3.1.2-7ubuntu4) ... 2714s Setting up libruby:arm64 (1:3.1+1) ... 2714s Setting up ruby-augeas (1:0.5.0+gem-1build3) ... 2714s Setting up ruby-rbtree (0.4.6-1build1) ... 2714s Setting up ruby3.1 (3.1.2-7ubuntu4) ... 2714s Setting up ruby-shadow (2.5.1-1ubuntu1) ... 2714s Setting up ruby-sdbm:arm64 (1.0.0-5build3) ... 2714s Setting up ruby-sorted-set (1.0.3-3) ... 2714s Setting up ruby (1:3.1+1) ... 2714s Setting up ruby-thor (1.2.2-1) ... 2714s Setting up ruby-rspec-core (3.12.0c0e1m1s0-1) ... 2714s Setting up ruby-hocon (1.3.1-2) ... 2714s Setting up ruby-diff-lcs (1.5.0-1) ... 2714s Setting up hiera (3.10.0-1) ... 2714s Setting up gem2deb-test-runner (2.2.2) ... 2714s Setting up facter (4.3.0-2) ... 2714s Setting up ruby-rspec-expectations (3.12.0c0e1m1s0-1) ... 2714s Setting up ruby-rspec-mocks (3.12.0c0e1m1s0-1) ... 2714s Setting up puppet-agent (7.23.0-1) ... 2760s puppet.service is a disabled or a static unit, not starting it. 2760s Setting up ruby-rspec (3.12.0c0e1m1s0-1) ... 2760s Setting up puppet (7.23.0-1) ... 2760s Setting up ruby-rspec-puppet (2.9.0+ds-1) ... 2760s Setting up puppet-module-puppetlabs-stdlib (8.5.0-1) ... 2760s update-alternatives: using /usr/share/puppet/modules.available/puppetlabs-stdlib to provide /usr/share/puppet/modules/stdlib (puppet-module-stdlib) in auto mode 2760s Setting up autopkgtest-satdep (0) ... 2760s Processing triggers for libc-bin (2.38-3ubuntu1) ... 2761s Processing triggers for man-db (2.12.0-3) ... 2873s (Reading database ... 81063 files and directories currently installed.) 2873s Removing autopkgtest-satdep (0) ... 2882s autopkgtest [03:04:17]: test gem2deb-test-runner: gem2deb-test-runner --autopkgtest --check-dependencies 2>&1 2882s autopkgtest [03:04:17]: test gem2deb-test-runner: [----------------------- 2889s 2889s ┌──────────────────────────────────────────────────────────────────────────────┐ 2889s │ Checking Rubygems dependency resolution on ruby3.1 │ 2889s └──────────────────────────────────────────────────────────────────────────────┘ 2889s 2892s RUBYLIB=. GEM_PATH= ruby3.1 -e gem\ \"rspec-puppet\" 2892s mv lib ./.gem2deb.lib 2895s mv ./.gem2deb.lib lib 2895s 2895s ┌──────────────────────────────────────────────────────────────────────────────┐ 2895s │ Run tests for ruby3.1 from debian/ruby-tests.rake │ 2895s └──────────────────────────────────────────────────────────────────────────────┘ 2895s 2895s RUBYLIB=. GEM_PATH= ruby3.1 -S rake --rakelibdir /gem2deb-nonexistent -f debian/ruby-tests.rake 2895s mv lib ./.gem2deb.lib 2900s /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 2961s 2961s RSpec::Puppet::Cache 2961s fetching cached entries 2968s calls the get_proc on cache misses 2968s can supply a proc to the get method 2968s can handle procs with multiple args 2968s reuses cached entries 2968s evicts expired entries 2968s 2968s structured_data 2968s with a single level array of strings 2976s is expected to contain Structured_data::Def[thing] with data => ["foo", "bar", "baz", "quux"] 2976s with integers as data values 2978s is expected to contain Structured_data::Def[thing] with data => ["first", 1, "second", 2] 2978s with nested arrays 2978s on Puppet 2.7 and later 2979s is expected to contain Structured_data::Def[thing] with data => ["first", "second", ["third", "fourth"], 5, 6] 2979s 2979s boolean_test 2981s is expected to contain Notify[bool testing] with message =~ /bool is false/ 2981s is expected not to contain Notify[bool testing] with message =~ /true/ 2981s is expected to contain Notify[bool testing] with message !~ /true/ 2981s 2981s boolean_test 2981s is expected to contain Notify[bool testing] with message => "This will print when $bool is false." 2981s 2981s test::bare_class 2981s cache between adjacent examples 2984s records the initial catalogue ID 2984s should contain the same catalogue ID 2984s cache multiple catalogues 2984s iteration 1 2987s records the initial catalogue ID 2987s iteration 2 2988s records the initial catalogue ID 2988s iteration 3 2990s records the initial catalogue ID 2990s iteration 4 2991s records the initial catalogue ID 2991s iteration 5 2992s records the initial catalogue ID 2992s iteration 6 2994s records the initial catalogue ID 2994s iteration 7 2995s records the initial catalogue ID 2995s iteration 8 2999s records the initial catalogue ID 2999s iteration 9 2999s records the initial catalogue ID 2999s iteration 10 3000s records the initial catalogue ID 3000s iteration 1 3000s should contain the same catalogue ID 3000s iteration 2 3000s should contain the same catalogue ID 3000s iteration 3 3000s should contain the same catalogue ID 3000s iteration 4 3000s should contain the same catalogue ID 3000s iteration 5 3000s should contain the same catalogue ID 3000s iteration 6 3000s should contain the same catalogue ID 3000s iteration 7 3001s should contain the same catalogue ID 3001s iteration 8 3001s should contain the same catalogue ID 3001s iteration 9 3001s should contain the same catalogue ID 3001s iteration 10 3001s should contain the same catalogue ID 3001s limits number of cached catalogues 3001s iteration 1 3001s records the initial catalogue ID 3001s iteration 2 3001s records the initial catalogue ID 3001s iteration 3 3001s records the initial catalogue ID 3001s iteration 4 3001s records the initial catalogue ID 3001s iteration 5 3001s records the initial catalogue ID 3001s iteration 6 3002s records the initial catalogue ID 3002s iteration 7 3002s records the initial catalogue ID 3002s iteration 8 3002s records the initial catalogue ID 3002s iteration 9 3002s records the initial catalogue ID 3002s iteration 10 3002s records the initial catalogue ID 3002s iteration 11 3003s records the initial catalogue ID 3003s iteration 12 3005s records the initial catalogue ID 3005s iteration 13 3007s records the initial catalogue ID 3007s iteration 14 3008s records the initial catalogue ID 3008s iteration 15 3009s records the initial catalogue ID 3009s iteration 16 3011s records the initial catalogue ID 3011s iteration 17 3013s records the initial catalogue ID 3013s iteration 18 3014s records the initial catalogue ID 3015s iteration 19 3018s records the initial catalogue ID 3018s iteration 20 3020s records the initial catalogue ID 3020s iteration 1 3021s should receive a new catalogue ID 3021s iteration 2 3024s should receive a new catalogue ID 3024s iteration 3 3025s should receive a new catalogue ID 3025s iteration 4 3026s should receive a new catalogue ID 3026s iteration 9 3026s should contain the same catalogue ID 3026s iteration 10 3026s should contain the same catalogue ID 3026s iteration 11 3026s should contain the same catalogue ID 3026s iteration 12 3027s should contain the same catalogue ID 3027s iteration 13 3027s should contain the same catalogue ID 3027s iteration 14 3027s should contain the same catalogue ID 3027s iteration 15 3027s should contain the same catalogue ID 3027s iteration 16 3027s should contain the same catalogue ID 3027s iteration 17 3028s should contain the same catalogue ID 3028s iteration 18 3028s should contain the same catalogue ID 3028s iteration 19 3028s should contain the same catalogue ID 3028s iteration 20 3029s should contain the same catalogue ID 3029s 3029s #rspec_puppet_cleanup 3029s is expected to equal true 3029s should wipe @catalogue 3029s 3029s cycle::bad 3033s is expected not to compile into a catalogue without dependency cycles 3033s 3033s cycle::good 3037s is expected to compile into a catalogue without dependency cycles 3038s is expected not to fail to compile and raise an error matching // 3038s 3038s default_test 3039s is expected to compile into a catalogue without dependency cycles 3039s 3039s deferred 3041s is expected to contain Notify[deferred msg] with message => "A STRING" 3041s 3041s escape 3043s is expected to contain File[/tmp/escape] with content =~ /\$MSG foo/ 3043s 3043s export_resource 3043s exported_resources accessor 3044s should support the contain_* matcher 3044s should support the have_*_resource_count matcher 3044s exported_resources sub-context 3044s should support the contain_* matcher 3044s should support the have_*_resource_count matcher 3044s normal catalogue tests 3046s should not match exported resources 3046s 3046s structured_facts::hash 3046s symbols and strings in facts 3048s is expected to contain Class[structured_facts::hash] 3048s is expected to compile into a catalogue without dependency cycles 3049s is expected to contain Notify[RedHat] 3049s only symbols in facts 3049s is expected to contain Class[structured_facts::hash] 3049s is expected to compile into a catalogue without dependency cycles 3050s is expected to contain Notify[RedHat] 3050s mixed case symbols in facts 3050s is expected to contain Class[structured_facts::hash] 3050s is expected to compile into a catalogue without dependency cycles 3051s is expected to contain Notify[RedHat] 3051s only strings in facts 3051s is expected to contain Class[structured_facts::hash] 3051s is expected to compile into a catalogue without dependency cycles 3051s is expected to contain Notify[RedHat] 3051s mixed case strings in facts 3051s is expected to contain Class[structured_facts::hash] 3052s is expected to compile into a catalogue without dependency cycles 3052s is expected to contain Notify[RedHat] 3052s 3052s structured_facts::top_scope 3052s symbols and strings in facts 3054s is expected to contain Class[structured_facts::top_scope] 3054s is expected to compile into a catalogue without dependency cycles 3054s is expected to contain Notify[RedHat] 3054s only symbols in facts 3055s is expected to contain Class[structured_facts::top_scope] 3055s is expected to compile into a catalogue without dependency cycles 3055s is expected to contain Notify[RedHat] 3055s mixed case in facts 3055s is expected to contain Class[structured_facts::top_scope] 3055s is expected to compile into a catalogue without dependency cycles 3055s is expected to contain Notify[RedHat] 3055s only string in facts 3055s is expected to contain Class[structured_facts::top_scope] 3056s is expected to compile into a catalogue without dependency cycles 3056s is expected to contain Notify[RedHat] 3056s mixed case in facts 3057s is expected to contain Class[structured_facts::top_scope] 3057s is expected to compile into a catalogue without dependency cycles 3057s is expected to contain Notify[RedHat] 3057s 3057s structured_facts::case_check 3057s mixed case in structure fact nested keys 3059s is expected to contain Class[structured_facts::case_check] 3059s is expected to compile into a catalogue without dependency cycles 3059s is expected to contain Notify[value] 3059s 3059s structured_data 3059s with a single level hash of strings 3060s is expected to contain Structured_data::Def[thing] with data => {"foo"=>"bar", "baz"=>"quux"} 3060s with integers as keys 3060s puppet 4 or greater 3061s is expected to contain Structured_data::Def[thing] with data => {1=>"uno", 2=>"dos"} 3061s with integers as values 3062s is expected to contain Structured_data::Def[thing] with data => {"first"=>1, "second"=>2} 3062s with nested hashes 3064s is expected to contain Structured_data::Def[thing] with data => {"first"=>1, "sec.ond"=>2, "third"=>{"alpha"=>"a", "beta"=>"b"}} 3064s 3064s test::hiera 3064s with :hiera_config set 3067s is expected to contain Notify[foo] 3067s without :hiera_config set 3069s is expected to contain Notify[not found] 3069s 3069s hiera_test 3069s without :hiera_config set 3069s with module eyaml hiera data enabled 3072s is expected to raise Puppet::PreformattedError with message matching /hiera_eyaml/ 3072s with module eyaml hiera data disabled 3074s is expected to raise Puppet::ParseError 3074s with relative fixture hiera config path 3076s is expected to contain Notify[module] 3076s with absolute fixture hiera config path 3078s is expected to contain Notify[module] 3078s with invalid fixture hiera config path 3079s is expected to raise Puppet::ParseError 3079s with :use_fixture_spec_hiera set 3080s is expected to contain Notify[spec] 3080s with :hiera_config set 3080s with module eyaml hiera data enabled 3081s is expected to raise Puppet::PreformattedError with message matching /hiera_eyaml/ 3081s with module eyaml hiera data disabled 3083s is expected to contain Notify[global] 3083s with relative fixture hiera config path 3084s is expected to contain Notify[global] 3084s with absolute fixture hiera config path 3085s is expected to contain Notify[global] 3085s with invalid fixture hiera config path 3087s is expected to contain Notify[global] 3087s with :use_fixture_spec_hiera set 3088s is expected to contain Notify[global] 3088s 3088s hiera_test2 3088s without :hiera_config set 3088s with module-layer hiera enabled 3089s is expected to contain Notify[module] 3089s with module-layer hiera disabled 3090s is expected to raise Puppet::ParseError 3090s with :use_fixture_spec_hiera set 3090s with missing spec hiera.yaml and hiera fallback enabled 3091s is expected to contain Notify[module] 3091s with missing spec hiera.yaml and hiera fallback disabled 3092s is expected to raise Puppet::ParseError 3092s with :hiera_config set 3092s with module-layer hiera enabled 3094s is expected to contain Notify[global] 3094s with module-layer hiera disabled 3096s is expected to contain Notify[global] 3096s with :use_fixture_spec_hiera set 3096s with missing spec hiera.yaml and hiera fallback enabled 3097s is expected to contain Notify[global] 3097s with missing spec hiera.yaml and hiera fallback disabled 3098s is expected to contain Notify[global] 3098s 3098s map_reduce 3099s is expected to compile into a catalogue without dependency cycles 3099s is expected to contain Notify[joined_incremented_values] with message => "123" 3099s 3099s node_params 3102s compiles into a catalogue without dependency cycles 3103s contains Notify[string] with message => foo bar baz 3103s contains Notify[hash] with message => {"foo"=>"bar", "baz"=>"foo"} 3103s contains Notify[array] with message => ["baz", "foo", "bar"] 3104s contains Notify[true] with message => true 3104s contains Notify[false] with message => false 3104s contains Notify[integer] with message => 5 3105s contains Notify[float] with message => 4.4 3105s contains Notify[nil] with message => 3105s doesn't leak to the facts hash 3105s 3105s relationships::before 3108s is expected to contain Notify[foo] that comes before Notify[bar] 3108s is expected to contain Notify[foo] that comes before Notify[baz] 3108s is expected to contain Notify[bar] that comes before Notify[baz] 3108s is expected to contain Notify[bar] that requires Notify[foo] 3109s is expected to contain Notify[baz] that requires Notify[foo] 3109s is expected to contain Notify[baz] that requires Notify[bar] 3109s is expected to contain Notify[foo] that comes before Notify[bar] and Notify[baz] 3109s is expected to contain Notify[bar] that comes before Notify[baz] 3110s is expected to contain Notify[bar] that requires Notify[foo] 3110s is expected to contain Notify[baz] that requires Notify[foo] and Notify[bar] 3110s is expected to contain Class[relationships::before::pre] that comes before Class[relationships::before::post] 3110s is expected to contain Class[relationships::before::post] that requires Class[relationships::before::pre] 3111s is expected to contain Notify[pre] that comes before Notify[post] 3111s is expected to contain Notify[post] that requires Notify[pre] 3124s is expected to contain File[/tmp/foo] that comes before File[/tmp/foo/bar] 3125s is expected to contain File[/tmp/foo/bar] that requires File[/tmp/foo] 3125s is expected to contain Notify[bazz] that comes before File[/tmp/foo/bar] 3125s is expected to contain Notify[qux] that requires File[/tmp/foo] 3125s is expected to contain Notify[bazz] that comes before Notify[qux] 3126s is expected to contain Notify[qux] that requires Notify[bazz] 3126s is expected not to contain Notify[foo] that comes before Notify[unknown] 3126s is expected not to contain Notify[bar] that comes before Notify[unknown] 3126s is expected not to contain Notify[baz] that comes before Notify[unknown] 3127s is expected not to contain Notify[foo] that requires Notify[unknown] 3127s is expected not to contain Notify[bar] that requires Notify[unknown] 3127s is expected not to contain Notify[baz] that requires Notify[unknown] 3127s is expected not to contain Class[relationships::before::pre] that comes before Class[relationships::before::unknown] 3127s is expected not to contain Class[relationships::before::post] that requires Class[relationships::before::unknown] 3127s 3127s relationships::notify 3129s is expected to contain Notify[foo] that notifies Notify[bar] 3130s is expected to contain Notify[baz] that notifies Notify[bar] 3130s is expected to contain Notify[baz] that notifies Notify[gronk] 3130s is expected to contain Notify[gronk] that subscribes to Notify[baz] 3130s is expected to contain Notify[bar] that subscribes to Notify[baz] 3131s is expected to contain Notify[bar] that subscribes to Notify[foo] 3131s is expected to contain Notify[foo] that notifies Notify[bar] 3131s is expected to contain Notify[baz] that notifies Notify[bar] and Notify[gronk] 3131s is expected to contain Notify[gronk] that subscribes to Notify[baz] 3132s is expected to contain Notify[bar] that subscribes to Notify[baz] and Notify[foo] 3132s is expected to contain Notify[pre] that notifies Notify[post] 3132s is expected to contain Notify[post] that subscribes to Notify[pre] 3132s 3132s relationships::titles 3167s is expected to compile into a catalogue without dependency cycles 3167s is expected to compile into a catalogue without dependency cycles 3167s is expected to contain File[/etc/svc] 3168s is expected to contain Service[svc-title] 3168s is expected to contain File[/etc/svc] that notifies Service[svc-name] 3168s is expected to contain File[/etc/svc] that comes before Service[svc-name] 3168s is expected to contain Service[svc-title] that requires File[/etc/svc] 3169s is expected to contain Service[svc-title] that subscribes to File[/etc/svc] 3169s 3169s relationships::complex 3170s is expected to contain Notify[foo] that comes before Notify[baz] and Notify[bar] 3170s 3170s server_facts 3170s with server_facts 3171s is expected to contain Class[server_facts] 3172s is expected to compile into a catalogue without dependency cycles 3172s is expected to contain Notify[servername-test123.test.com] 3172s is expected to contain Notify[serverip-192.168.1.10] 3173s is expected to contain Notify[serverversion-7.23.0] 3173s is expected to contain Notify[environment-rp_env] 3173s 3173s sysctl::common 3174s is expected to contain Exec[sysctl/reload] with command => "/sbin/sysctl -p /etc/sysctl.conf" and returns => [0, 2] 3178s is expected not to contain Augeas[foo] 3178s when using with to specify a hash of parameters 3179s should fail if the parameter is not contained in the resource 3179s should pass if the parameters are contained in the resource 3179s when using without to specify parameter name(s) 3179s should pass if the parameter name is not contained in the resource 3179s should pass if the parameter names are not contained in the resource 3179s should fail if any of the parameter names are contained in the resource 3179s when using without to specify parameter value(s) 3180s should pass if the parameter value is not contained in the resource 3180s should fail if the parameter value is contained in the resource 3180s 3180s sysctl::common 3181s is expected to contain Class[sysctl::common] with test_param => "yes" 3181s is expected to contain exactly 1 class 3181s is expected to contain exactly 1 Exec resource 3182s is expected to contain exactly 2 resources 3182s is expected to contain Notify[test] 3182s 3182s sysctl::common 3182s is expected to contain Exec[sysctl/reload] with exactly 3 parameters, command => "/sbin/sysctl -p /etc/sysctl.conf", refreshonly => true and returns => [0, 2] 3182s is expected to contain Exec[sysctl/reload] with exactly 3 parameters, command => "/sbin/sysctl -p /etc/sysctl.conf", refreshonly => true and returns => [0, 2] 3182s should fail if not enough parameters are contained in the resource 3182s should fail if different parameters are contained in the resource 3182s 3182s test::bare_class 3182s rspec group 3184s should have a catalogue method 3184s subject should return a catalogue 3184s derivative group 3184s can redefine subject 3184s coverage 3184s class should be included in the coverage filter 3185s should not include resources from other modules created with create_resources() 3185s 3185s test::basic 3187s is expected to contain Fake[foo] with three => [{"foo"=>"bar"}] 3187s testing node based facts 3189s is expected to contain Notify[test123.test.com] 3189s is expected not to contain Notify[notthis.test.com] 3189s existing networking facts should not be clobbered 3192s is expected to contain Notify[eth0] 3192s is expected to contain Notify[test123] 3192s when derive_node_facts_from_nodename => false 3193s is expected to contain Notify[myhostname.test.com] 3193s is expected not to contain Notify[mycertname.test.com] 3193s 3193s test::classes_used 3195s is expected to include Class[test::bare_class] 3195s is expected to include Class[test::parameterised_class] 3195s is expected to contain Class[test::parameterised_class] with text => "bar" 3196s is expected to contain Class[test::bare_class] 3196s is expected to contain Class[test::parameterised_class] with something => # 3196s 3196s test::compile_error 3198s should provide a useful message when compilation fails 3198s 3198s test::duplicate_alias 3201s is expected to compile into a catalogue without dependency cycles 3202s is expected to contain Exec[foo_bar_1] 3202s is expected to contain Exec[foo_bar_2] 3202s is expected not to contain Exec[/bin/echo foo bar] 3202s 3202s test::empty_class 3204s is expected to compile into a catalogue without dependency cycles 3204s exported resources 3205s is expected to contain exactly 0 resources 3205s 3205s test::fail 3206s is expected to fail to compile and raise an error matching /test/ 3206s 3206s test::provider_suitability 3206s On Darwin 3208s is expected to compile into a catalogue without dependency cycles 3209s is expected to contain User[testuser] 3209s On CentOS 3211s is expected to compile into a catalogue without dependency cycles 3211s is expected to contain User[testuser] 3211s On Solaris 3213s is expected to compile into a catalogue without dependency cycles 3213s is expected to contain User[testuser] 3213s 3213s test::registry 3213s example at ./spec/classes/test_registry_spec.rb:10 (PENDING: Temporarily skipped with xit) 3213s 3213s test::sensitive 3215s is expected to contain Class[test::sensitive::user] with password => Sensitive("myPassword") 3215s is expected to contain Class[test::sensitive::user] with password => Sensitive(/Pass/) 3215s 3215s test::user 3217s is expected to contain User[luke] with exactly 2 parameters, ensure => "present" and uid => "501" 3217s 3217s test::windows 3273s is expected to compile into a catalogue without dependency cycles 3273s is expected to contain File[C:\something.txt] 3273s 3273s trusted_external_data 3273s no trusted external data 3276s is expected to contain Class[trusted_external_data] 3277s is expected to compile into a catalogue without dependency cycles 3277s is expected to contain Notify[no-external-data] 3277s with trusted external data 3278s is expected to contain Class[trusted_external_data] 3279s is expected to compile into a catalogue without dependency cycles 3279s is expected to contain Notify[external-foo_key-foo_value] 3279s is expected to contain Notify[external-bar_key-bar_value] 3279s 3279s trusted_facts 3279s FQDN as certname 3280s is expected to contain Class[trusted_facts] 3281s is expected to compile into a catalogue without dependency cycles 3281s is expected to contain Notify[certname-trusted.example.com] 3282s is expected to contain Notify[authenticated-remote] 3282s is expected to contain Notify[hostname-trusted] 3282s is expected to contain Notify[domain-example.com] 3282s is expected to contain Notify[no-extensions] 3282s shortname as certname 3284s is expected to contain Class[trusted_facts] 3284s is expected to compile into a catalogue without dependency cycles 3285s is expected to contain Notify[certname-trusted] 3285s is expected to contain Notify[authenticated-remote] 3285s is expected to contain Notify[hostname-trusted] 3286s is expected to contain Notify[domain-] 3286s is expected to contain Notify[no-extensions] 3286s with extensions 3288s is expected to contain Class[trusted_facts] 3288s is expected to compile into a catalogue without dependency cycles 3289s is expected to contain Notify[certname-trusted.example.com] 3289s is expected to contain Notify[authenticated-remote] 3289s is expected to contain Notify[hostname-trusted] 3289s is expected to contain Notify[domain-example.com] 3289s is expected not to contain Notify[no-extensions] 3289s is expected to contain Notify[extension-pp_uuid-ED803750-E3C7-44F5-BB08-41A04433FE2E] 3290s is expected to contain Notify[extension-1.3.6.1.4.1.34380.1.2.1-ssl-termination] 3290s 3290s type_mismatch 3292s is expected to compile into a catalogue without dependency cycles 3292s is expected not to contain Type_mismatch::Hash[bug] with hash => {"foo"=>{"bar"=>{}}} 3292s is expected not to raise Exception 3292s 3292s undef_test 3292s with required_attribute => 'some_string' 3292s and defaults_to_undef unspecified 3294s is expected to compile into a catalogue without dependency cycles 3295s is expected to contain Class[undef_test] with required_attribute => "some_string" 3295s is expected to contain Class[undef_test] with defaults_to_undef undefined 3295s does not include undef parameters in the parameter count matcher 3295s and defaults_to_undef => :undef 3297s is expected to compile into a catalogue without dependency cycles 3298s is expected to contain Class[undef_test] with required_attribute => "some_string" 3298s is expected to contain Class[undef_test] with defaults_to_undef undefined 3298s does not include undef parameters in the parameter count matcher 3298s with required_attribute => :undef 3298s and defaults_to_undef unspecified 3299s is expected to compile into a catalogue without dependency cycles 3299s is expected to contain Class[undef_test] with required_attribute undefined 3299s is expected to contain Class[undef_test] with defaults_to_undef undefined 3300s does not include undef parameters in the parameter count matcher 3300s and defaults_to_undef => :undef 3302s is expected to compile into a catalogue without dependency cycles 3302s is expected to contain Class[undef_test] with required_attribute undefined 3302s is expected to contain Class[undef_test] with defaults_to_undef undefined 3302s does not include undef parameters in the parameter count matcher 3302s 3302s unique::fail 3305s is expected to compile into a catalogue without dependency cycles 3305s is expected not to have unique attribute values for User[uid] 3305s 3305s unique 3309s is expected to compile into a catalogue without dependency cycles 3309s is expected to have unique attribute values for User[uid] 3309s 3309s #rspec_puppet_cleanup 3309s is expected to equal true 3309s should wipe @catalogue 3309s 3309s escape::def 3310s is expected to contain File[/tmp/bla] with content =~ /bar \$BLA/ 3310s 3310s sysctl::before 3312s Should raise an error about needing the sysctl::common class 3312s 3312s sysctl::before 3313s is expected to contain Sysctl::Before[test define] with value => "title" 3313s is expected to contain Class[sysctl::common] 3313s 3313s sysctl 3315s is expected to contain Class[sysctl::common] 3316s 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 3316s is expected to contain exactly 1 Sysctl resource 3316s 3316s test::addition 3316s when passing an integer 3318s is expected to contain Notify[61] 3318s 3318s sysctl 3318s rspec group 3318s should have a catalogue method 3318s subject should return a catalogue 3319s should be included in the coverage filter 3319s 3319s test::loop_define 3319s with an array of plain strings 3319s both sub resources in the catalogue 3320s is expected to contain Package[a] 3320s is expected to contain Package[b] 3320s with a title containing a $ 3322s is expected to compile into a catalogue without dependency cycles 3322s 3322s test::notify 3323s is expected to contain Notify[test'] 3323s 3323s undef_test::def 3323s with required_attribute => 'some_string' 3323s and defaults_to_undef unspecified 3324s is expected to compile into a catalogue without dependency cycles 3324s is expected to contain Undef_test::Def[some_undef_test] with required_attribute => "some_string" 3324s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 3324s and defaults_to_undef => :undef 3326s is expected to compile into a catalogue without dependency cycles 3326s is expected to contain Undef_test::Def[some_undef_test] with required_attribute => "some_string" 3327s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 3327s with required_attribute => :undef 3327s and defaults_to_undef unspecified 3328s is expected to compile into a catalogue without dependency cycles 3328s is expected to contain Undef_test::Def[some_undef_test] with required_attribute undefined 3328s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 3328s and defaults_to_undef => :undef 3329s is expected to compile into a catalogue without dependency cycles 3330s is expected to contain Undef_test::Def[some_undef_test] with required_attribute undefined 3330s is expected to contain Undef_test::Def[some_undef_test] with defaults_to_undef undefined 3330s 3330s camelCaseFunction 3331s is expected not to be nil 3333s is expected to run camelCaseFunction() and raise an Puppet::ParseError with the message matching /Requires 1 argument/ 3334s is expected to run camelCaseFunction(1) and raise an Puppet::ParseError with the message matching /Argument must be a string/ 3335s is expected to run camelCaseFunction("test") and return "test" 3335s 3335s split 3335s rspec group 3336s should have a catalogue method 3336s catalogue should not change after subject is called 3336s 3336s #rspec_puppet_cleanup 3336s is expected to equal true 3337s should wipe @catalogue 3337s 3337s ensure_packages 3337s should create the resource in the catalogue (PENDING: Temporarily skipped with xit) 3337s 3337s structured_facts::lookup 3337s with one set of values 3337s is expected to run structured_facts::lookup() and return "RedHat" 3337s with a different set of values 3337s is expected to run structured_facts::lookup() and return "Suse" 3337s 3337s map 3338s is expected to run map([1, 2]) and return ["test-1", "test-2"] 3338s 3338s nasty 3339s is expected not to eq nil 3341s is expected to run nasty("foo", "bar") and return "foo" 3341s the underlying Run matcher 3342s should not have its description manipulated by running the function 3342s 3342s nil_function 3342s is expected to run nil_function(false) and return nil 3343s is expected to run nil_function(true) and raise an Puppet::ParseError with the message matching /Forced Failure/ 3343s is expected to run nil_function(true) and raise an Puppet::ParseError with the message matching /Forced Failure - new version/ 3343s 3343s regsubst 3344s is expected to run regsubst("thisisatest", "^192", "254") and match /sat/ 3345s is expected to run regsubst("thisisatest", "sat", "xyz") and match /ixyze/ 3346s is expected to run regsubst("thisisatest", "sat", "xyz") and return "thisixyzest" 3347s is expected to run regsubst("thisisatest", "sat", "xyz") and match /^thisixyzest$/ 3347s 3347s split 3347s is expected to run split("aoeu", "o") and return ["a", "eu"] 3348s is expected not to run split("foo") and raise an Puppet::DevError 3349s is expected to run split("foo") and raise an ArgumentError 3350s is expected to run split("foo") and raise an ArgumentError with the message matching /expects \d+ arguments/ 3351s is expected to run split("foo") and raise an Exception with the message matching /expects \d+ arguments/ 3351s is expected to raise RSpec::Expectations::ExpectationNotMetError 3351s after including a class 3352s is expected to run split("aoeu", "o") and return ["a", "eu"] 3352s 3352s test_function 3353s is expected to run test_function("foo") and match /value is foo/ 3353s 3353s frozen_function 3354s is expected to run frozen_function("foo") and return true 3355s is expected to run frozen_function(String) and return false 3356s is expected to run frozen_function(true) and return true 3356s is expected to run frozen_function(["foo"]) and return true 3358s is expected to run frozen_function({"foo"=>"bar"}) and return true 3358s 3358s test::hiera_function 3358s with :hiera_config set 3359s is expected to run test::hiera_function() and return "foo" 3359s without :hiera_config set 3362s is expected to run test::hiera_function() and return "not found" 3362s 3362s test::bare_class 3363s is expected to compile into a catalogue without dependency cycles 3363s 3363s trusted_facts::lookup 3363s without trusted fact extensions 3364s is expected to run trusted_facts::lookup("certname") and return "trusted.example.com" 3364s is expected to run trusted_facts::lookup("hostname") and return "trusted" 3365s is expected to run trusted_facts::lookup("domain") and return "example.com" 3366s is expected to run trusted_facts::lookup("authenticated") and return "remote" 3366s is expected to run trusted_facts::lookup("extensions") and return {} 3366s with trusted fact extensions 3366s is expected to run trusted_facts::lookup("extensions") and return {"extra1"=>"1", "extra2"=>"2"} 3366s 3366s someotherhost 3368s is expected to contain Foo[bar] with param => ["baz"] 3368s 3368s #rspec_puppet_cleanup 3368s is expected to equal true 3369s should wipe @catalogue 3369s 3369s facts.acme.com 3369s without an explicit environment setting 3370s is expected to contain File[environment] with path => "rp_env" 3370s when specifying an explicit environment 3371s is expected to contain File[environment] with path => "test_env" 3371s is expected to contain File[conditional_file] 3371s test 3372s is expected to contain File[environment] with path => "production" 3372s 3372s facts.acme.com 3373s is expected to contain File[environment] with path => "rp_env" 3373s is expected to contain File[clientversion] with path => "7.23.0" 3373s is expected to contain File[fqdn] with path => "facts.acme.com" 3373s is expected to contain File[hostname] with path => "facts" 3373s is expected to contain File[domain] with path => "acme.com" 3373s is expected to contain File[clientcert] with path => "cert facts.acme.com" 3373s 3373s foo.example.com 3374s is expected not to contain Class[sysctl::common] 3374s is expected to contain Notify[test] 3374s 3374s good_dep_host 3376s is expected to compile into a catalogue without dependency cycles 3376s 3376s foo.example.com 3376s rspec group 3376s should have a catalogue method 3376s subject should return a catalogue 3376s should have resources in its coverage report 3376s 3376s testhost 3379s is expected to contain Class[sysctl::common] 3379s testhost_a 3381s is expected not to contain Class[sysctl::common] 3381s is expected to contain File[/tmp/a] 3381s 3381s RSpec::Puppet::RawString 3381s #inspect 3381s returns the raw string when doing an inspect 3381s 3381s RSpec::Puppet::Support 3381s #setup_puppet 3381s updates the ruby $LOAD_PATH based on the current modulepath 3381s #ref 3381s should return a new RawString with the type/title format 3381s #sensitive 3381s when using a version of Puppet that supports the Sensitive type 3381s should return a new Sensitive with the given contents 3381s #str_from_value 3381s should quote strings 3381s should not quote numbers 3381s should use literal 'default' when receiving :default 3381s should use literal 'undef' when receiving :undef 3381s should convert Symbols to Strings 3382s should handle Arrays recursively 3382s should handle Hashes recursively 3382s #find_pretend_platform 3382s without os facts 3382s returns the correct platform 3382s with os structured fact 3382s returns the correct platform 3382s with osfamily fact 3382s returns the correct platform 3382s with os structured fact 3382s returns the correct platform 3382s with osfamily fact 3382s returns the correct platform 3382s #build_code 3382s without any properties 3382s builds a test manifest 3382s with a pre_condition available 3382s builds a test manifest 3382s with a post_condition available 3382s builds a test manifest 3382s 3382s Aliases::OnlyArray 3384s is expected not to match values nil, "string" 3386s is expected to match value ["a", "b"] 3386s 3386s Aliases::OnlyHash 3388s is expected not to match values nil, "string" 3389s is expected to match value {"a"=>"b"} 3391s is expected to match value {"a"=>{"b"=>"c"}} 3391s 3391s Aliases::Shape 3393s is expected to match value "square" 3394s is expected to match value "circle" 3396s is expected not to match value "triangle" 3398s is expected not to match value nil 3398s is expected to match values "square", "circle" 3401s is expected not to match values "triangle", nil 3401s 3401s #rspec_puppet_cleanup 3401s is expected to equal true 3401s should wipe @catalogue 3401s 3401s fake 3401s is expected to be a valid type 3401s tests of the types 3401s parameters checks 3401s should fail for 2 baddies 3401s should fail for 3 baddies 3402s should pass with 2 goodies 3402s should pass with 5 goodies 3402s properties checks 3402s should fail for 2 baddies 3402s should fail for 4 baddies 3402s should pass with 2 goodies 3402s should pass with 5 goodies 3402s features checks 3402s should fail for 2 baddies 3403s should fail for 4 baddies 3403s should pass with 2 goodies 3403s should pass with 6 goodies 3403s tests that create a resource instance 3403s should pass when providers match 3403s should fail when provider does not match 3403s should pass when providers match 3404s should fail with invalid parameters 3404s should not fail with valid parameters 3404s 3404s RSpec::Puppet::Adapters::Base 3404s #setup_puppet 3404s sets up all settings listed in the settings map 3404s default settings 3404s sets vardir to /dev/null 3404s sets confdir to /dev/null 3404s #set_setting 3404s with a context specific setting 3404s sets the Puppet setting based on the example group setting 3404s does not persist settings between example groups 3404s with a global RSpec configuration setting 3404s sets the Puppet setting based on the global configuration value 3404s with both a global RSpec configuration setting and a context specific setting 3404s prefers the context specific setting 3404s when the setting is not available on the given version of Puppet 3405s logs a warning about the setting 3405s 3405s RSpec::Puppet::Coverage 3405s filtering 3405s filters boilerplate catalog resources by default 3405s can add additional filters 3405s filters resources based on the resource title 3405s regular expression based filtering 3405s maps (?-mix:test.*) to (?-mix:\ANotify\[.*test.*.*\]\z) 3405s maps (?-mix:ignore[0-9]+) to (?-mix:\ANotify\[.*ignore[0-9]+.*\]\z) 3405s maps (?-mix:\Astart_with) to (?-mix:\ANotify\[start_with.*\]\z) 3405s maps (?-mix:\Aanchored\Z) to (?-mix:\ANotify\[anchored\]\z) 3405s maps (?-mix:end_with\Z) to (?-mix:\ANotify\[.*end_with\]\z) 3405s maps (?-mix:end_with\z) to (?-mix:\ANotify\[.*end_with\]\z) 3405s maps (?-mix:end_with$) to (?-mix:\ANotify\[.*end_with\]\z) 3405s maps (?-mix:escapism\$) to (?-mix:\ANotify\[.*escapism\$.*\]\z) 3405s maps (?-mix:escapism\\Z) to (?-mix:\ANotify\[.*escapism\\Z.*\]\z) 3405s maps (?-mix:escapism\\\\\Z) to (?-mix:\ANotify\[.*escapism\\\\\]\z) 3405s maps (?-mix:escapism\\\\$) to (?-mix:\ANotify\[.*escapism\\\\\]\z) 3406s maps (?-mix:escapism\\\\\$) to (?-mix:\ANotify\[.*escapism\\\\\$.*\]\z) 3406s maps (?-mix:escapism\\\\\\\$) to (?-mix:\ANotify\[.*escapism\\\\\\\$.*\]\z) 3406s adding resources that could be covered 3406s adds resources that don't exist and aren't filtered 3406s ignores resources that have been filtered 3406s ignores resources that have been regex filtered 3406s ignores resources that have already been added 3406s getting coverage results 3406s counts the total number of resources 3406s counts the number of touched resources 3406s counts the number of untouched resources 3406s counts the coverage percentage 3407s includes all resources and their status 3407s when there are no resources 3407s reports 100% coverage 3407s with parallel tests 3407s getting coverage results 3407s outputs report 3407s 3407s RSpec::Puppet::FunctionExampleGroup::V4FunctionWrapper 3407s when calling with params 3407s is expected to receive call(#, 1, 2) 1 time 3407s when executing with params 3407s is expected to receive call(#, 1, 2) 1 time 3407s 3407s RSpec::Puppet::FunctionExampleGroup::V3FunctionWrapper 3407s when calling with params 3407s is expected to receive call([1, 2]) 1 time 3407s when executing with params 3407s is expected to receive call([1, 2]) 1 time 3407s 3407s RSpec::Puppet::TypeAliasMatchers::AllowValue 3407s one matching value 3407s #matches? 3407s is expected to equal true 3407s #description 3407s is expected to eq "match value \"circle\"" 3407s one incorrect value 3407s #matches? 3407s is expected to equal false 3407s #description 3407s is expected to eq "match value \"circle\"" 3407s #failure_message 3407s is expected to eq "expected that the type alias would match value \"circle\" but it raised the error expected a Shape value, got circle" 3407s #failure_message_when_negated 3408s is expected to eq "expected that the type alias would not match value \"circle\" but it does" 3408s multiple matching values 3408s #matches? 3408s is expected to equal true 3408s #description 3408s is expected to eq "match values \"circle\", \"square\"" 3408s mixed matching/incorrect values 3408s #matches? 3408s is expected to equal false 3408s #description 3408s is expected to eq "match values \"circle\", \"square\", \"triangle\"" 3408s #failure_message 3408s 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" 3408s #failure_message_when_negated 3408s is expected to eq "expected that the type alias would not match values \"circle\", \"square\", \"triangle\" but it does" 3408s 3408s RSpec::Puppet::ManifestMatchers::Compile 3408s a valid manifest 3410s matches 3411s is expected to have attributes {:description => "compile into a catalogue without dependency cycles"} 3411s when expecting an "example" error 3411s doesn't match 3411s is expected to have attributes {:description => "fail to compile and raise the error \"example\""} 3411s after matching 3411s is expected to have attributes {:failure_message => (a string starting with "expected that the catalogue would fail to compile and raise the error \"example\"")} 3411s when matching an "example" error 3411s doesn't match 3411s is expected to have attributes {:description => "fail to compile and raise an error matching /example/"} 3411s after matching 3412s 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/")} 3412s a manifest with missing dependencies 3413s doesn't match 3413s after matching 3416s is expected to have attributes {:failure_message => (a string matching /\Aerror during compilation: Could not (retrieve dependency|find resource) 'File\[\/tmp\/missing\]'/)} 3416s a manifest with syntax error 3416s doesn't match 3416s after matching 3418s is expected to have attributes {:failure_message => (a string starting with "error during compilation: ")} 3418s a manifest with a dependency cycle 3419s doesn't match 3419s after matching 3420s is expected to have attributes {:failure_message => (a string starting with "dependency cycles found: ")} 3420s when expecting an "example" error 3420s doesn't match 3420s after matching 3420s is expected to have attributes {:description => "fail to compile and raise the error \"example\"", :failure_message => (a string starting with "dependency cycles found: ")} 3420s when matching an "example" error 3420s doesn't match 3420s after matching 3421s is expected to have attributes {:description => "fail to compile and raise an error matching /example/", :failure_message => (a string starting with "dependency cycles found: ")} 3421s a manifest with a real failure 3422s doesn't match 3422s after matching 3423s is expected to have attributes {:description => "compile into a catalogue without dependency cycles", :failure_message => (a string starting with "error during compilation: ")} 3423s when expecting the failure 3425s matches 3425s 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\""} 3425s after matching 3427s is expected to have attributes {:failure_message => (a string starting with "error during compilation: ")} 3427s when matching the failure 3429s matches 3429s is expected to have attributes {:description => "fail to compile and raise an error matching /failure/"} 3429s after matching 3431s is expected to have attributes {:failure_message => (a string starting with "error during compilation: ")} 3431s 3431s RSpec::Puppet::ManifestMatchers::CountGeneric 3431s is not a diffable matcher (PENDING: method not implemented) 3431s #initialize 3431s when initialised with a specified type 3431s and the type is a single namespace segment 3431s capitalises the type 3431s and the type is multiple namespaced segments 3431s capitalises each segment of the type (PENDING: bug - not implemented) 3431s when initialised with a method name via method_missing 3431s and the type is a single namespace segment 3431s extracts the type from the method name and capitalises it 3431s and the type is multiple namespaced segments 3431s extracts the type from the method name and capitalises each segment 3431s #description 3431s when counting classes in the catalogue 3432s and only a single class is expected 3432s describes an expectation of a singular class 3432s and more than one class is expected 3432s describes an expectation of plural classes 3432s when counting all resources 3432s and only a single resource is expected 3432s describes an expectation of a singular resource 3432s and more than one resource is expected 3432s describes an expectation of plural resources 3432s when counting resources of a particular type 3432s and only a single resource is expected 3432s describes an expectation of a singular resource type 3432s and more than one resource is expected 3432s describes an expectation of plural resources of a type 3432s #matches? 3432s when counting all resources 3432s does not include Class, Node or default resources in the count 3432s and the catalogue contains a number of countable resources 3432s and the expected value matches the resource count 3432s returns true 3432s and the expected value does not match the resource count 3433s returns false 3433s and counting resources of a particular type 3433s does not include default resources of that type in the resource count 3433s #failure_message 3433s provides the description of the failure and the actual value 3433s #failure_message_when_negated 3433s provides the description of the failure 3433s 3433s RSpec::Puppet::ManifestMatchers.have_class_count 3433s initialises a CountGeneric matcher for Class resources 3433s 3433s RSpec::Puppet::ManifestMatchers.have_resource_count 3433s initialises a CountGeneric matcher for all resources 3433s 3433s RSpec::Puppet::ManifestMatchers.include_class 3433s is not a diffable matcher 3433s #description 3433s includes the expected class name 3433s #matches? 3433s when the catalogue includes the expected class 3433s returns true 3433s when the catalogue does not include the expected class 3433s returns false 3433s #failure_message 3433s provides a description and the expected class 3433s #failure_message_when_negated 3433s provides a description and the expected class (PENDING: not implemented) 3433s 3433s RSpec::Puppet::ManifestMatchers::ParameterMatcher 3433s #matches? 3433s with [1] expected 3433s matches [1] 3433s does not match [] 3434s does not match [1,2,3] 3434s does not match nil 3434s with [1,2,3] expected 3434s matches [1,2,3] 3434s does not match [] 3434s does not match nil 3434s with {"foo" => "bar"} expected 3434s matches {"foo" => "bar"} 3434s does not match nil 3434s does not match {} 3434s does not match {"foo" => "baz"} 3434s with lambda(){"foo"} expected 3434s matches "foo" 3434s does not match nil 3434s with /foo/ expected 3434s matches "foo" 3434s does not match nil 3434s with "foo" expected 3434s matches "foo" 3434s does not match nil 3434s 3434s RSpec::Puppet::GenericMatchers::RaiseError 3434s with a failing target 3434s is expected to raise Exception with "catalogue load failed" 3434s with a passing target 3434s is expected not to raise Exception 3434s 3434s RSpec::Puppet::FunctionMatchers::Run 3434s #matches? 3434s when the function takes no arguments and has no expected return value 3434s and returns nothing 3434s returns true 3434s and raises an exception 3434s returns false 3434s #with_lambda 3434s when a lambda is passed to the matcher 3434s passes the lambda when executing the function 3434s 3434s RSpec::Puppet::Win32::Registry 3434s on non-windows 3435s is expected not to be nil 3435s uses the stubbed rspec-puppet version 3435s 3435s RSpec::Puppet::Win32::TaskScheduler 3435s on non-windows 3435s is expected not to be nil 3435s uses the stubbed rspec-puppet version 3435s 3435s RSpec::Puppet::Windows::TaskSchedulerConstants 3435s on non-windows 3435s is expected not to be nil 3435s uses the stubbed rspec-puppet version 3435s 3435s File constants 3435s on non-windows 3435s File::PATH_SEPARATOR 3435s File::ALT_SEPARATOR 3435s 3435s Pathname constants 3435s on non-windows 3435s Pathname::SEPARATOR_PAT 3435s 3435s Pathname#rspec_puppet_basename 3435s is not enabled by default 3435s when enabled 3435s returns the basename of a path (basic cases) 3435s returns the last component of the filename 3435s returns a string 3435s returns the basename for unix format 3435s returns the basename for edgecases 3435s on posix 3435s returns the basename for edgecases 3436s takes into consideration the platform path separators 3436s on windows 3436s handles UNC pathnames 3436s takes into consideration the platform path separators 3436s returns the basename for windows 3436s returns the basename for windows with forward slash 3436s 3436s Puppet::Module#match_manifests 3436s returns init.pp for top level class 3436s returns init.pp for escape::unknown 3436s returns just def.pp for escape::def 3436s 3436s RSpec::Puppet::RawString 3436s #inspect 3436s returns an unquoted version of the string 3436s 3436s RSpec::Puppet::Sensitive 3436s #sensitive? 3436s returns true 3436s #unwrap 3436s returns the wrapped value 3436s #inspect 3436s wraps the contents in Sensitive() 3436s #== 3436s compares equal to Puppet sensitive type 3436s compares false to the unwrapped value 3436s 3436s Code coverage 3436s must cover at least 0% of resources 3436s 3436s 3436s Coverage Report: 3436s 3436s Total resources: 107 3436s Touched resources: 77 3436s Resource coverage: 71.96% 3436s 3436s Untouched resources: 3436s Class[Relationships::Before::Middle] 3436s Class[Relationships::Notify::Middle] 3436s Class[Relationships::Notify::Post] 3436s Class[Relationships::Notify::Pre] 3436s File[/home] 3436s File[/tmp/b] 3436s File[/tmp/deptest1] 3436s File[/tmp/deptest2] 3436s File[/tmp/resource] 3436s File[C:\test.txt] 3436s File[tmpdir] 3436s Node[__node_regexp__testhost] 3436s Node[facts.acme.com] 3436s Node[good_dep_host] 3436s Node[testhost_a] 3436s Notify[["first", "second", ["third", "fourth"], 5, 6]] 3436s Notify[["first", 1, "second", 2]] 3436s Notify[["foo", "bar", "baz", "quux"]] 3436s Notify[message-test define] 3436s Notify[middle] 3436s Notify[success] 3436s Notify[{"first"=>1, "sec.ond"=>2, "third"=>{"alpha"=>"a", "beta"=>"b"}}] 3436s Notify[{"first"=>1, "second"=>2}] 3436s Notify[{"foo"=>"bar", "baz"=>"quux"}] 3436s Notify[{1=>"uno", 2=>"dos"}] 3436s Package[$test] 3436s Package[test] 3436s User[fiona] 3436s User[foo] 3436s User[fred] 3437s 3437s Pending: (Failures listed here are expected and do not affect your suite's status) 3437s 3437s 1) test::registry 3437s # Temporarily skipped with xit 3437s # ./spec/classes/test_registry_spec.rb:10 3437s 3437s 2) ensure_packages should create the resource in the catalogue 3437s # Temporarily skipped with xit 3437s # ./spec/functions/ensure_packages_spec.rb:6 3437s 3437s 3) RSpec::Puppet::ManifestMatchers::CountGeneric is not a diffable matcher 3437s # method not implemented 3437s Failure/Error: expect(matcher).not_to be_diffable 3437s expected contain exactly 0 resources to respond to `diffable?` 3437s # ./spec/unit/matchers/count_generic_spec.rb:30:in `block (2 levels) in ' 3437s 3437s 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 3437s # bug - not implemented 3437s Failure/Error: expect(matcher.resource_type).to eq('Test::Type') 3437s 3437s expected: "Test::Type" 3437s got: "Test::type" 3437s 3437s (compared using ==) 3437s # ./spec/unit/matchers/count_generic_spec.rb:48:in `block (5 levels) in ' 3437s 3437s 5) RSpec::Puppet::ManifestMatchers.include_class #failure_message_when_negated provides a description and the expected class 3437s # not implemented 3437s Failure/Error: expect(matcher.failure_message_when_negated).to eq("expected that the catalogue would not include Class[#{expected}]") 3437s 3437s expected: "expected that the catalogue would not include Class[test_class]" 3437s got: "expected # not to include Class[test_class]" 3437s 3437s (compared using ==) 3437s # ./spec/unit/matchers/include_class_spec.rb:75:in `block (3 levels) in ' 3437s 3437s Deprecation Warnings: 3437s 3437s 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.XybdJG/build.RK7/src/spec/classes/undef_spec.rb:17:in `block (4 levels) in '. 3437s 3437s 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'. 3437s 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'. 3437s 3437s 3437s If you need more of the backtrace for any of these deprecations to 3437s identify where to make the necessary changes, you can configure 3437s `config.raise_errors_for_deprecations!`, and it will turn the 3437s deprecation warnings into errors, giving you the full backtrace. 3437s 3437s 3 deprecation warnings total 3437s 3437s Finished in 7 minutes 55 seconds (files took 58.26 seconds to load) 3437s 617 examples, 0 failures, 5 pending 3437s 3438s mv ./.gem2deb.lib lib 3440s autopkgtest [03:13:35]: test gem2deb-test-runner: -----------------------] 3443s gem2deb-test-runner PASS 3443s autopkgtest [03:13:38]: test gem2deb-test-runner: - - - - - - - - - - results - - - - - - - - - - 3446s autopkgtest [03:13:41]: @@@@@@@@@@@@@@@@@@@@ summary 3446s gem2deb-test-runner PASS 3468s Creating nova instance adt-noble-arm64-ruby-rspec-puppet-20240221-021615-juju-7f2275-prod-proposed-migration-environment-2 from image adt/ubuntu-noble-arm64-server-20240220.img (UUID 6900ef9c-6e0a-481b-bb57-cb7daa4f3285)...