Skip to content

Support postgresql 15 and newer #88

Support postgresql 15 and newer

Support postgresql 15 and newer #88

Triggered via push April 4, 2024 10:06
Status Failure
Total duration 1m 18s
Artifacts

spec.yml

on: push
Matrix: test
Test suite
0s
Test suite
Fit to window
Zoom out
Zoom in

Annotations

50 errors and 7 warnings
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L29
pgprobackup::instance with default parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L30
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::install] Failure/Error: it { is_expected.to contain_class('pgprobackup::install') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L31
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::repo] Failure/Error: it { is_expected.to contain_class('pgprobackup::repo') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L33
pgprobackup::instance with default parameters is expected to contain Ssh_authorized_key[postgres-psql.localhost] with user => "postgres", type => "ssh-rsa", key => "AAABBBCCC" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_ssh_authorized_key('postgres-psql.localhost') .with( user: 'postgres', type: 'ssh-rsa', key: 'AAABBBCCC', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L49
pgprobackup::instance with default parameters is expected to contain Package[pg_probackup-12] with ensure =~ /present|installed/ Failure/Error: is_expected.to contain_package('pg_probackup-12').with_ensure(%r{present|installed}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L68
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Exec[pgprobackup_add_instance_psql.localhost-common] with tag => "pgprobackup_add_instance-common" and command => "pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev" Failure/Error: expect(exported_resources).to contain_exec('pgprobackup_add_instance_psql.localhost-common').with( tag: 'pgprobackup_add_instance-common', command: 'pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L75
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Cron[pgprobackup_FULL_psql.localhost-common] with user => "pgbackup", weekday => "*", hour => "4" and minute => "0" Failure/Error: expect(exported_resources).to contain_cron('pgprobackup_FULL_psql.localhost-common') .with( user: 'pgbackup', weekday: '*', hour: '4', minute: '0', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L103
pgprobackup::instance with default parameters with plain text password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L29
pgprobackup::instance with default parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L120
pgprobackup::instance with default parameters exporting host ssh key is expected to contain Sshkey[postgres-psql.localhost] with ensure => "present", target => "/backup/.ssh/known_hosts", key => "AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_sshkey('postgres-psql.localhost').with( ensure: 'present', target: '/backup/.ssh/known_hosts', key: 'AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L30
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::install] Failure/Error: it { is_expected.to contain_class('pgprobackup::install') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L31
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::repo] Failure/Error: it { is_expected.to contain_class('pgprobackup::repo') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L33
pgprobackup::instance with default parameters is expected to contain Ssh_authorized_key[postgres-psql.localhost] with user => "postgres", type => "ssh-rsa", key => "AAABBBCCC" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_ssh_authorized_key('postgres-psql.localhost') .with( user: 'postgres', type: 'ssh-rsa', key: 'AAABBBCCC', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L49
pgprobackup::instance with default parameters is expected to contain Package[pg_probackup-12] with ensure =~ /present|installed/ Failure/Error: is_expected.to contain_package('pg_probackup-12').with_ensure(%r{present|installed}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L147
pgprobackup::instance with default parameters with encrypted password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1019-108.m5ch4o5xfz2e5czaqtqza4205h.dx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L68
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Exec[pgprobackup_add_instance_psql.localhost-common] with tag => "pgprobackup_add_instance-common" and command => "pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev" Failure/Error: expect(exported_resources).to contain_exec('pgprobackup_add_instance_psql.localhost-common').with( tag: 'pgprobackup_add_instance-common', command: 'pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L75
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Cron[pgprobackup_FULL_psql.localhost-common] with user => "pgbackup", weekday => "*", hour => "4" and minute => "0" Failure/Error: expect(exported_resources).to contain_cron('pgprobackup_FULL_psql.localhost-common') .with( user: 'pgbackup', weekday: '*', hour: '4', minute: '0', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L103
pgprobackup::instance with default parameters with plain text password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L120
pgprobackup::instance with default parameters exporting host ssh key is expected to contain Sshkey[postgres-psql.localhost] with ensure => "present", target => "/backup/.ssh/known_hosts", key => "AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_sshkey('postgres-psql.localhost').with( ensure: 'present', target: '/backup/.ssh/known_hosts', key: 'AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L147
pgprobackup::instance with default parameters with encrypted password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L29
pgprobackup::instance with default parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L30
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::install] Failure/Error: it { is_expected.to contain_class('pgprobackup::install') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L31
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::repo] Failure/Error: it { is_expected.to contain_class('pgprobackup::repo') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L33
pgprobackup::instance with default parameters is expected to contain Ssh_authorized_key[postgres-psql.localhost] with user => "postgres", type => "ssh-rsa", key => "AAABBBCCC" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_ssh_authorized_key('postgres-psql.localhost') .with( user: 'postgres', type: 'ssh-rsa', key: 'AAABBBCCC', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L49
pgprobackup::instance with default parameters is expected to contain Package[pg_probackup-12] with ensure =~ /present|installed/ Failure/Error: is_expected.to contain_package('pg_probackup-12').with_ensure(%r{present|installed}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L68
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Exec[pgprobackup_add_instance_psql.localhost-common] with tag => "pgprobackup_add_instance-common" and command => "pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev" Failure/Error: expect(exported_resources).to contain_exec('pgprobackup_add_instance_psql.localhost-common').with( tag: 'pgprobackup_add_instance-common', command: 'pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L75
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Cron[pgprobackup_FULL_psql.localhost-common] with user => "pgbackup", weekday => "*", hour => "4" and minute => "0" Failure/Error: expect(exported_resources).to contain_cron('pgprobackup_FULL_psql.localhost-common') .with( user: 'pgbackup', weekday: '*', hour: '4', minute: '0', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L103
pgprobackup::instance with default parameters with plain text password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L120
pgprobackup::instance with default parameters exporting host ssh key is expected to contain Sshkey[postgres-psql.localhost] with ensure => "present", target => "/backup/.ssh/known_hosts", key => "AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_sshkey('postgres-psql.localhost').with( ensure: 'present', target: '/backup/.ssh/known_hosts', key: 'AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.0 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L147
pgprobackup::instance with default parameters with encrypted password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L29
pgprobackup::instance with default parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L30
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::install] Failure/Error: it { is_expected.to contain_class('pgprobackup::install') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L31
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::repo] Failure/Error: it { is_expected.to contain_class('pgprobackup::repo') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L33
pgprobackup::instance with default parameters is expected to contain Ssh_authorized_key[postgres-psql.localhost] with user => "postgres", type => "ssh-rsa", key => "AAABBBCCC" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_ssh_authorized_key('postgres-psql.localhost') .with( user: 'postgres', type: 'ssh-rsa', key: 'AAABBBCCC', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L49
pgprobackup::instance with default parameters is expected to contain Package[pg_probackup-12] with ensure =~ /present|installed/ Failure/Error: is_expected.to contain_package('pg_probackup-12').with_ensure(%r{present|installed}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L68
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Exec[pgprobackup_add_instance_psql.localhost-common] with tag => "pgprobackup_add_instance-common" and command => "pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev" Failure/Error: expect(exported_resources).to contain_exec('pgprobackup_add_instance_psql.localhost-common').with( tag: 'pgprobackup_add_instance-common', command: 'pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L75
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Cron[pgprobackup_FULL_psql.localhost-common] with user => "pgbackup", weekday => "*", hour => "4" and minute => "0" Failure/Error: expect(exported_resources).to contain_cron('pgprobackup_FULL_psql.localhost-common') .with( user: 'pgbackup', weekday: '*', hour: '4', minute: '0', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L103
pgprobackup::instance with default parameters with plain text password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L120
pgprobackup::instance with default parameters exporting host ssh key is expected to contain Sshkey[postgres-psql.localhost] with ensure => "present", target => "/backup/.ssh/known_hosts", key => "AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_sshkey('postgres-psql.localhost').with( ensure: 'present', target: '/backup/.ssh/known_hosts', key: 'AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 3.1 - Puppet ~> 8.0: spec/classes/instance_spec.rb#L147
pgprobackup::instance with default parameters with encrypted password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1435-359.w10t344lelvuxfmjd4pvrrtsxg.cx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L29
pgprobackup::instance with default parameters is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L30
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::install] Failure/Error: it { is_expected.to contain_class('pgprobackup::install') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L31
pgprobackup::instance with default parameters is expected to contain Class[pgprobackup::repo] Failure/Error: it { is_expected.to contain_class('pgprobackup::repo') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L33
pgprobackup::instance with default parameters is expected to contain Ssh_authorized_key[postgres-psql.localhost] with user => "postgres", type => "ssh-rsa", key => "AAABBBCCC" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_ssh_authorized_key('postgres-psql.localhost') .with( user: 'postgres', type: 'ssh-rsa', key: 'AAABBBCCC', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L49
pgprobackup::instance with default parameters is expected to contain Package[pg_probackup-12] with ensure =~ /present|installed/ Failure/Error: is_expected.to contain_package('pg_probackup-12').with_ensure(%r{present|installed}) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L68
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Exec[pgprobackup_add_instance_psql.localhost-common] with tag => "pgprobackup_add_instance-common" and command => "pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev" Failure/Error: expect(exported_resources).to contain_exec('pgprobackup_add_instance_psql.localhost-common').with( tag: 'pgprobackup_add_instance-common', command: 'pg_probackup-12 add-instance -B /var/lib/pgbackup --instance foo --remote-host=psql.localhost --remote-user=postgres --remote-port=22 -D /var/lib/postgresql/12/dev', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L75
pgprobackup::instance with default parameters with enabled FULL backup is expected to contain Cron[pgprobackup_FULL_psql.localhost-common] with user => "pgbackup", weekday => "*", hour => "4" and minute => "0" Failure/Error: expect(exported_resources).to contain_cron('pgprobackup_FULL_psql.localhost-common') .with( user: 'pgbackup', weekday: '*', hour: '4', minute: '0', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L103
pgprobackup::instance with default parameters with plain text password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L120
pgprobackup::instance with default parameters exporting host ssh key is expected to contain Sshkey[postgres-psql.localhost] with ensure => "present", target => "/backup/.ssh/known_hosts", key => "AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=" and tag => ["pgprobackup-common"] Failure/Error: expect(exported_resources).to contain_sshkey('postgres-psql.localhost').with( ensure: 'present', target: '/backup/.ssh/known_hosts', key: 'AAAAE2VjZHNhLXNoYTBtbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBHSTDlBLg+FouBL5gEmO1PYmVNbguoZ5ECdIG/Acwt9SylhSAqZSlKKFojY3XwcTvokz/zfeVPesnNnBVgFWmXU=', tag: ['pgprobackup-common'], ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-backup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
Ruby 2.7 - Puppet ~> 7.0: spec/classes/instance_spec.rb#L147
pgprobackup::instance with default parameters with encrypted password is expected to contain File_line[pgprobackup_pgpass_content-psql] with line => "psql.localhost:5433:pg_backup:pg_probackup:TopSecret!" Failure/Error: expect(exported_resources).to contain_file_line('pgprobackup_pgpass_content-psql').with( line: 'psql.localhost:5433:pg_backup:pg_probackup:TopSecret!', ) Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Duplicate declaration: Postgresql::Server::Grant[current_setting-to-pg_probackup] is already declared at (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 16); cannot redeclare (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26) (file: /home/runner/work/puppet-pgprobackup/puppet-pgprobackup/spec/fixtures/modules/pgprobackup/manifests/grants/psql11.pp, line: 26, column: 3) on node fv-az1567-223.ivwpl3vsblrubjity54i0equac.phxx.internal.cloudapp.net
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
rubocop
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Ruby 3.0 - Puppet ~> 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Ruby 3.1 - Puppet ~> 7.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Ruby 3.0 - Puppet ~> 7.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Ruby 3.1 - Puppet ~> 8.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Ruby 2.7 - Puppet ~> 7.0
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.