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 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_180347428.UADnVB.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.15 seconds
Info: Using environment 'production'
Info: Applying configuration version '1717092228'
�[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 0.16 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\n dev-sda1.device ...oaded but inactive units, too.\nTo show all installed unit files use 'systemctl list-unit-files'.\n" to include "vault.service"
Diff:
@@ -1,56 +1,111 @@
-vault.service
+ UNIT LOAD ACTIVE SUB DESCRIPTION
+ dev-sda1.device loaded activating tentative /dev/sda1
+ -.mount loaded active mounted Root Mount
+ 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
+ sys-kernel-config.mount loaded active mounted Kernel Configuration File System
+ sys-kernel-debug.mount loaded active mounted Kernel Debug File System
+ sys-kernel-tracing.mount loaded active mounted Kernel Trace 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
+● chronyd.service loaded failed failed NTP client/server
+ crond.service loaded active running Command Scheduler
+ dbus-broker.service loaded active running D-Bus System Message Bus
+ ldconfig.service loaded active exited Rebuild Dynamic Linker Cache
+ sshd.service loaded active running OpenSSH server daemon
+ systemd-journal-catalog-update.service loaded active exited Rebuild Journal Catalog
+ systemd-journal-flush.service loaded active exited Flush Journal to Persistent Storage
+ systemd-journald.service loaded active running Journal Service
+ systemd-network-generator.service loaded active exited Generate network units from Kernel command line
+ systemd-sysusers.service loaded active exited Create System Users
+ systemd-tmpfiles-setup.service loaded active exited Create Volatile Files and Directories
+ systemd-update-done.service loaded active exited Update is Completed
+ systemd-update-utmp.service loaded active exited Record System Boot/Shutdown in UTMP
+ systemd-user-sessions.service loaded active exited Permit User Sessions
+ -.slice loaded active active Root Slice
+ system-modprobe.slice loaded active active Slice /system/modprobe
+ system-sshd\x2dkeygen.slice loaded active active Slice /system/sshd-keygen
+ system.slice loaded active active System Slice
+ dbus.socket loaded active running D-Bus System Message Bus Socket
+ systemd-initctl.socket loaded active listening initctl Compatibility Named Pipe
+ systemd-journald-dev-log.socket loaded active running Journal Socket (/dev/
|
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 'almalinux9-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_180401347.VNdPre.pp
Last 10 lines of output were:
Info: Loading facts
Info: Loading facts
Info: Loading facts
Info: Loading facts
�[mNotice: Compiled catalog for almalinux9-64-puppet7.example.com in environment production in 0.08 seconds
Info: Using environment 'production'
Info: Applying configuration version '1717092242'
�[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 0.15 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