Set Default file mode to 0600 #74
Annotations
3 errors
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L4
Otelcol class behaves like the example applies with no errors
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 'debian12-64-puppet7.example.com' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_120901420.pp.qno5sA
Last 10 lines of output were:
Error: /Stage[main]/Otelcol::Config/Concat[otelcol-config]/File[/etc/otelcol/config.yaml]/group: change from 'root' to 'otelcol' failed: Could not find group otelcol
�[mNotice: /Stage[main]/Otelcol::Config/Concat[otelcol-config]/File[/etc/otelcol/config.yaml]/mode: mode changed '0644' to '0600'
Info: Class[Otelcol::Service]: Unscheduling all events on Class[Otelcol::Service]
�[mNotice: /Stage[main]/Otelcol::Service/Exec[otelcol_config_check]: Dependency File[/etc/otelcol/config.yaml] has failures: true
�[mNotice: /Stage[main]/Otelcol::Service/Exec[otelcol_config_check]: Dependency File[otelcol-environment] has failures: true
Info: Class[Otelcol]: Unscheduling all events on Class[Otelcol]
Warning: /Stage[main]/Otelcol::Service/Exec[otelcol_config_check]: Skipping because of failed dependencies
Warning: /Stage[main]/Otelcol::Service/Service[otelcol]: Skipping because of failed dependencies
Info: Stage[main]: Unscheduling all events on Stage[main]
�[mNotice: Applied catalog in 2.80 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/otelcol_spec.rb:6
|
Run tests:
vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb#L8
Otelcol class behaves like the example 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 'debian12-64-puppet7.example.com' exited with 4 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_120905961.pp.lJkWEs
Last 10 lines of output were:
Error: /Stage[main]/Otelcol::Config/File[otelcol-environment]/group: change from 'root' to 'otelcol' failed: Could not find group otelcol
Error: Could not find user otelcol
Error: /Stage[main]/Otelcol::Config/Concat[otelcol-config]/File[/etc/otelcol/config.yaml]/owner: change from 'root' to 'otelcol' failed: Could not find user otelcol
Error: Could not find group otelcol
Error: /Stage[main]/Otelcol::Config/Concat[otelcol-config]/File[/etc/otelcol/config.yaml]/group: change from 'root' to 'otelcol' failed: Could not find group otelcol
�[mNotice: /Stage[main]/Otelcol::Service/Exec[otelcol_config_check]: Dependency File[/etc/otelcol/config.yaml] has failures: true
�[mNotice: /Stage[main]/Otelcol::Service/Exec[otelcol_config_check]: Dependency File[otelcol-environment] has failures: true
Warning: /Stage[main]/Otelcol::Service/Exec[otelcol_config_check]: Skipping because of failed dependencies
Warning: /Stage[main]/Otelcol::Service/Service[otelcol]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 0.78 seconds
Shared Example Group: "an idempotent resource" called from ./vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.0.0/lib/voxpupuli/acceptance/examples.rb:14
Shared Example Group: "the example" called from ./spec/acceptance/otelcol_spec.rb:6
|
Run tests
Process completed with exit code 1.
|
Loading