Skip to content

stop forcing root ownership of vardir #1295

stop forcing root ownership of vardir

stop forcing root ownership of vardir #1295

Triggered via pull request January 3, 2025 14:27
Status Failure
Total duration 10m 14s
Artifacts

ci.yml

on: pull_request
Puppet  /  Static validations
15s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
2s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 26 warnings
Puppet / Puppet 8 - Ubuntu 20.04: vendor/bundle/ruby/3.2.0/gems/voxpupuli-acceptance-3.3.0/lib/voxpupuli/acceptance/examples.rb#L8
Scenario: minor version upgrade install 8.2.0 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 'ubuntu2004-64-puppet8.example.com' exited with 2 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_143158757.Jj2u4p.pp Last 10 lines of output were: Info: Loading facts Info: Loading facts Info: Loading facts Warning: Facter: Container runtime, 'docker', is unsupported, setting to 'container_other' �[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.85 seconds Info: Using environment 'production' Info: Applying configuration version '1735914722' �[mNotice: /Stage[main]/Puppet::Agent::Service::Daemon/Service[puppet]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Puppet::Agent::Service::Daemon/Service[puppet]: Unscheduling refresh on Service[puppet] �[mNotice: Applied catalog in 2.55 seconds Shared Example Group: "an idempotent resource" called from ./spec/acceptance/puppetserver_upgrade_spec.rb:38
Puppet / Puppet 8 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on debian-11-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on debian-12-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on ubuntu-20.04-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L353
puppet on ubuntu-22.04-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 8 (Ruby 3.2)
Process completed with exit code 1.
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on ubuntu-22.04-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on debian-11-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on ubuntu-20.04-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L353
puppet on debian-12-x86_64 with git repo is expected to contain File[/opt/puppetlabs/puppet/cache] with ensure => "directory" and owner => "root" Failure/Error: should contain_file(vardir) .with_ensure('directory') .with_owner('root') expected that the catalogue would contain File[/opt/puppetlabs/puppet/cache] with owner set to "root" but it is set to nil
Puppet / 7 (Ruby 2.7)
Process completed with exit code 1.
Puppet / Test suite
Process completed with exit code 1.
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system RedHat 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 7
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system CentOS 8
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system Fedora 36
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system FreeBSD 11
Puppet / Static validations: metadata.json#L1
Skipping EOL operating system FreeBSD 12
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on almalinux-8-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on almalinux-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on centos-7-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on centos-8-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on centos-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on debian-11-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on debian-12-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on fedora-36-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on freebsd-11-amd64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 8 (Ruby 3.2): spec/classes/puppet_server_spec.rb#L487
puppet on freebsd-12-amd64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on freebsd-12-amd64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on almalinux-8-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on ubuntu-22.04-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on centos-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on redhat-7-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on debian-11-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on rocky-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on fedora-36-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on ubuntu-20.04-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]
Puppet / 7 (Ruby 2.7): spec/classes/puppet_server_spec.rb#L487
puppet on oraclelinux-9-x86_64 with server_ca_crl_sync => true with server_ca => false and running "puppet apply" should not sync the crl Failure/Error: should_not contain_file('/etc/custom/puppetlabs/puppet/ssl/crl.pem') expected that the catalogue would not contain File[/etc/custom/puppetlabs/puppet/ssl/crl.pem]