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