Skip to content

uniform port parameter and $port_override value assignment #286

uniform port parameter and $port_override value assignment

uniform port parameter and $port_override value assignment #286

Triggered via pull request August 25, 2023 18:53
Status Failure
Total duration 9m 10s
Artifacts
This run and associated checks have been archived and are scheduled for deletion. Learn more about checks retention

ci.yml

on: pull_request
Spec  /  Setup Test Matrix
30s
Spec / Setup Test Matrix
Matrix: Spec / spec
Acceptance  /  Setup Test Matrix
Acceptance / Setup Test Matrix
Matrix: Acceptance / acceptance
Waiting for pending jobs
Fit to window
Zoom out
Zoom in

Annotations

20 errors
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/default_privileges_spec.rb#L391
postgresql::server::default_privileges standalone not managing server is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/default_privileges.pp, line: 62, column: 32) (line: 2) on node fv-az584-689.msjcyvhqqs1uvpg4fm53wptgqc.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/default_privileges_spec.rb#L392
postgresql::server::default_privileges standalone not managing server is expected not to contain Class[postgresql::server] Failure/Error: it { is_expected.not_to contain_class('postgresql::server') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/default_privileges.pp, line: 62, column: 32) (line: 2) on node fv-az584-689.msjcyvhqqs1uvpg4fm53wptgqc.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/database_spec.rb#L50
postgresql::server::database with specific db connection settings - including port is expected to contain Postgresql_psql[CREATE DATABASE "test"] with connect_settings => {"PGHOST"=>"postgres-db-server", "DBVERSION"=>"9.1", "PGPORT"=>"1234"} and port defined Failure/Error: it { is_expected.to contain_postgresql_psql('CREATE DATABASE "test"').with_connect_settings('PGHOST' => 'postgres-db-server', 'DBVERSION' => '9.1', 'PGPORT' => '1234').with_port(nil) } expected that the catalogue would contain Postgresql_psql[CREATE DATABASE "test"] with port undefined but it is set to 5432
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/database_spec.rb#L64
postgresql::server::database with global db connection settings - including port is expected to contain Postgresql_psql[CREATE DATABASE "test"] with connect_settings => {"PGHOST"=>"postgres-db-server", "DBVERSION"=>"9.2", "PGPORT"=>"1234"} and port defined Failure/Error: it { is_expected.to contain_postgresql_psql('CREATE DATABASE "test"').with_connect_settings('PGHOST' => 'postgres-db-server', 'DBVERSION' => '9.2', 'PGPORT' => '1234').with_port(nil) } expected that the catalogue would contain Postgresql_psql[CREATE DATABASE "test"] with port undefined but it is set to 5432
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/grant_spec.rb#L313
postgresql::server::grant standalone not managing server is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/grant.pp, line: 77, column: 32) (line: 2) on node fv-az584-689.msjcyvhqqs1uvpg4fm53wptgqc.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/grant_spec.rb#L314
postgresql::server::grant standalone not managing server is expected not to contain Class[postgresql::server] Failure/Error: it { is_expected.not_to contain_class('postgresql::server') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/grant.pp, line: 77, column: 32) (line: 2) on node fv-az584-689.msjcyvhqqs1uvpg4fm53wptgqc.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L211
postgresql::server::extension with specific db connection settings is expected to contain Postgresql_psql[postgres: CREATE EXTENSION "pg_repack"] with connect_settings => {"PGHOST"=>"postgres-db-server", "DBVERSION"=>"9.1", "PGPORT"=>"1234"} and port defined Failure/Error: expect(subject).to contain_postgresql_psql('postgres: CREATE EXTENSION "pg_repack"') .with_connect_settings('PGHOST' => 'postgres-db-server', 'DBVERSION' => '9.1', 'PGPORT' => '1234') .with_port(nil) expected that the catalogue would contain Postgresql_psql[postgres: CREATE EXTENSION "pg_repack"] with port undefined but it is set to 5432
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/role_spec.rb#L399
postgresql::server::role standalone not managing server is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/role.pp, line: 54, column: 32) (line: 3) on node fv-az584-689.msjcyvhqqs1uvpg4fm53wptgqc.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/role_spec.rb#L400
postgresql::server::role standalone not managing server is expected not to contain Class[postgresql::server] Failure/Error: it { is_expected.not_to contain_class('postgresql::server') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/role.pp, line: 54, column: 32) (line: 3) on node fv-az584-689.msjcyvhqqs1uvpg4fm53wptgqc.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2)
Process completed with exit code 1.
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/default_privileges_spec.rb#L391
postgresql::server::default_privileges standalone not managing server is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/default_privileges.pp, line: 62, column: 32) (line: 2) on node fv-az616-619.lyxpechou2telos4pyu554mfsh.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/default_privileges_spec.rb#L392
postgresql::server::default_privileges standalone not managing server is expected not to contain Class[postgresql::server] Failure/Error: it { is_expected.not_to contain_class('postgresql::server') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/default_privileges.pp, line: 62, column: 32) (line: 2) on node fv-az616-619.lyxpechou2telos4pyu554mfsh.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/database_spec.rb#L50
postgresql::server::database with specific db connection settings - including port is expected to contain Postgresql_psql[CREATE DATABASE "test"] with connect_settings => {"PGHOST"=>"postgres-db-server", "DBVERSION"=>"9.1", "PGPORT"=>"1234"} and port defined Failure/Error: it { is_expected.to contain_postgresql_psql('CREATE DATABASE "test"').with_connect_settings('PGHOST' => 'postgres-db-server', 'DBVERSION' => '9.1', 'PGPORT' => '1234').with_port(nil) } expected that the catalogue would contain Postgresql_psql[CREATE DATABASE "test"] with port undefined but it is set to 5432
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/database_spec.rb#L64
postgresql::server::database with global db connection settings - including port is expected to contain Postgresql_psql[CREATE DATABASE "test"] with connect_settings => {"PGHOST"=>"postgres-db-server", "DBVERSION"=>"9.2", "PGPORT"=>"1234"} and port defined Failure/Error: it { is_expected.to contain_postgresql_psql('CREATE DATABASE "test"').with_connect_settings('PGHOST' => 'postgres-db-server', 'DBVERSION' => '9.2', 'PGPORT' => '1234').with_port(nil) } expected that the catalogue would contain Postgresql_psql[CREATE DATABASE "test"] with port undefined but it is set to 5432
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/grant_spec.rb#L313
postgresql::server::grant standalone not managing server is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/grant.pp, line: 77, column: 32) (line: 2) on node fv-az616-619.lyxpechou2telos4pyu554mfsh.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/grant_spec.rb#L314
postgresql::server::grant standalone not managing server is expected not to contain Class[postgresql::server] Failure/Error: it { is_expected.not_to contain_class('postgresql::server') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/grant.pp, line: 77, column: 32) (line: 2) on node fv-az616-619.lyxpechou2telos4pyu554mfsh.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L211
postgresql::server::extension with specific db connection settings is expected to contain Postgresql_psql[postgres: CREATE EXTENSION "pg_repack"] with connect_settings => {"PGHOST"=>"postgres-db-server", "DBVERSION"=>"9.1", "PGPORT"=>"1234"} and port defined Failure/Error: expect(subject).to contain_postgresql_psql('postgres: CREATE EXTENSION "pg_repack"') .with_connect_settings('PGHOST' => 'postgres-db-server', 'DBVERSION' => '9.1', 'PGPORT' => '1234') .with_port(nil) expected that the catalogue would contain Postgresql_psql[postgres: CREATE EXTENSION "pg_repack"] with port undefined but it is set to 5432
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/role_spec.rb#L399
postgresql::server::role standalone not managing server is expected to compile into a catalogue without dependency cycles Failure/Error: it { is_expected.to compile.with_all_deps } error during compilation: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/role.pp, line: 54, column: 32) (line: 3) on node fv-az616-619.lyxpechou2telos4pyu554mfsh.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/role_spec.rb#L400
postgresql::server::role standalone not managing server is expected not to contain Class[postgresql::server] Failure/Error: it { is_expected.not_to contain_class('postgresql::server') } Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Evaluation Error: Unknown variable: 'postgresql::server::port'. (file: /home/runner/work/puppetlabs-postgresql/puppetlabs-postgresql/spec/fixtures/modules/postgresql/manifests/server/role.pp, line: 54, column: 32) (line: 3) on node fv-az616-619.lyxpechou2telos4pyu554mfsh.jx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7)
Process completed with exit code 1.