Merging in code from my private module #116
Annotations
8 errors
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
vault class default parameters behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu1804-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_180421176.18zrK9.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu1804-64-puppet7.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1717092265'
�[mNotice: /Stage[main]/Vault::Service/Service[vault]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Vault::Service/Service[vault]: Unscheduling refresh on Service[vault]
�[mNotice: Applied catalog in 1.17 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:7
|
spec/acceptance/class_spec.rb#L65
vault class default parameters Command "systemctl list-units" stdout is expected to include "vault.service"
Failure/Error: its(:stdout) { is_expected.to include 'vault.service' }
expected " UNIT LOAD ACTIVE SUB DESCRIPTION ...oaded but inactive units, too.\nTo show all installed unit files use 'systemctl list-unit-files'.\n" to include "vault.service"
Diff:
@@ -1,70 +1,139 @@
-vault.service
+ UNIT LOAD ACTIVE SUB DESCRIPTION
+ proc-sys-fs-binfmt_misc.automount loaded active waiting Arbitrary Executable File Formats File System Automount Point
+ dev-sda1.device loaded activating tentative /dev/sda1
+ -.mount loaded active mounted Root Mount
+ dev-hugepages.mount loaded active mounted Huge Pages File System
+ dev-mqueue.mount loaded active mounted POSIX Message Queue File System
+ etc-hostname.mount loaded active mounted /etc/hostname
+ etc-hosts.mount loaded active mounted /etc/hosts
+ etc-resolv.conf.mount loaded active mounted /etc/resolv.conf
+ run-user-0.mount loaded active mounted /run/user/0
+ sys-fs-fuse-connections.mount loaded active mounted FUSE Control File System
+ sys-kernel-config.mount loaded active mounted Kernel Configuration File System
+ sys-kernel-debug.mount loaded active mounted Kernel Debug File System
+ systemd-ask-password-console.path loaded active waiting Dispatch Password Requests to Console Directory Watch
+ systemd-ask-password-wall.path loaded active waiting Forward Password Requests to Wall Directory Watch
+ init.scope loaded active running System and Service Manager
+ session-6.scope loaded active running Session 6 of user root
+ dbus.service loaded active running D-Bus System Message Bus
+● [email protected] loaded failed failed Getty on tty1
+ networkd-dispatcher.service loaded active running Dispatcher daemon for systemd-networkd
+ ssh.service loaded active running OpenBSD Secure Shell server
+ systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
+ systemd-journald.service loaded active running Journal Service
+ systemd-logind.service loaded active running Login Service
+ systemd-modules-load.service loaded active exited Load Kernel Modules
+ systemd-resolved.service loaded active running Network Name Resolution
|
spec/acceptance/class_spec.rb#L79
vault class default parameters Service "vault" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "vault" to be running
|
spec/acceptance/class_spec.rb#L83
vault class default parameters Port "8200" is expected to be listening on 127.0.0.1 with tcp
Failure/Error: it { is_expected.to be_listening.on('127.0.0.1').with('tcp') }
expected Port "8200" to be listening on 127.0.0.1 with tcp
|
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.2.0/lib/voxpupuli/acceptance/examples.rb#L8
vault class with package based setup behaves like an idempotent resource applies a second time without changes
Failure/Error: raise CommandFailure, "Host '#{self}' exited with #{result.exit_code} running:\n #{cmdline}\nLast #{@options[:trace_limit]} lines of output were:\n#{result.formatted_output(@options[:trace_limit])}"
Beaker::Host::CommandFailure:
Host 'ubuntu1804-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_180441900.VdivR6.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu1804-64-puppet7.example.com in environment production in 0.18 seconds
Info: Using environment 'production'
Info: Applying configuration version '1717092286'
�[mNotice: /Stage[main]/Vault::Service/Service[vault]/ensure: ensure changed 'stopped' to 'running'
Info: /Stage[main]/Vault::Service/Service[vault]: Unscheduling refresh on Service[vault]
�[mNotice: Applied catalog in 1.29 seconds
Shared Example Group: "an idempotent resource" called from ./spec/acceptance/class_spec.rb:88
|
spec/acceptance/class_spec.rb#L112
vault class with package based setup Service "vault" is expected to be running
Failure/Error: it { is_expected.to be_running }
expected Service "vault" to be running
|
spec/acceptance/class_spec.rb#L116
vault class with package based setup Port "8200" is expected to be listening on 127.0.0.1 with tcp
Failure/Error: it { is_expected.to be_listening.on('127.0.0.1').with('tcp') }
expected Port "8200" to be listening on 127.0.0.1 with tcp
|
|
This job failed
Loading