Skip to content

port: Enforce Stdlib::Port datatype #292

port: Enforce Stdlib::Port datatype

port: Enforce Stdlib::Port datatype #292

Triggered via pull request August 28, 2023 12:25
Status Failure
Total duration 9m 11s
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
37s
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: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L22
postgresql::server::extension with mandatory arguments only is expected to contain Postgresql_psql[template_postgis: CREATE EXTENSION "postgis"] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: CREATE EXTENSION "postgis"') .with(db: 'template_postgis', command: 'CREATE EXTENSION "postgis"').that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L33
postgresql::server::extension when schema is specified is expected to contain Postgresql_psql[template_postgis: ALTER EXTENSION "postgis" SET SCHEMA "pg_catalog"] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: ALTER EXTENSION "postgis" SET SCHEMA "pg_catalog"') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L43
postgresql::server::extension when setting package name is expected to contain Package[postgis] that comes before Postgresql_psql[template_postgis: CREATE EXTENSION "postgis"] Failure/Error: expect(subject).to contain_package('postgis') .with(ensure: 'installed', name: 'postgis').that_comes_before('Postgresql_psql[template_postgis: CREATE EXTENSION "postgis"]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L55
postgresql::server::extension when ensuring absence is expected to contain Postgresql_psql[template_postgis: DROP EXTENSION "postgis"] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: DROP EXTENSION "postgis"') .with(db: 'template_postgis', command: 'DROP EXTENSION "postgis"').that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L60
postgresql::server::extension when ensuring absence is expected to contain Package[postgis] with ensure => "absent" and name => "postgis" Failure/Error: expect(subject).to contain_package('postgis').with(ensure: 'absent', name: 'postgis') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L70
postgresql::server::extension when ensuring absence when keeping package installed is expected to contain Postgresql_psql[template_postgis: DROP EXTENSION "postgis"] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: DROP EXTENSION "postgis"') .with(db: 'template_postgis', command: 'DROP EXTENSION "postgis"').that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L75
postgresql::server::extension when ensuring absence when keeping package installed is expected to contain Package[postgis] that requires Postgresql_psql[template_postgis: DROP EXTENSION "postgis"] Failure/Error: expect(subject).to contain_package('postgis') .with(ensure: 'installed', name: 'postgis').that_requires('Postgresql_psql[template_postgis: DROP EXTENSION "postgis"]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L89
postgresql::server::extension when extension version is specified is expected to contain Postgresql_psql[template_postgis: ALTER EXTENSION "postgis" UPDATE TO '99.99.99'] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: ALTER EXTENSION "postgis" UPDATE TO \'99.99.99\'') .with(db: 'template_postgis', unless: "SELECT 1 FROM pg_extension WHERE extname='postgis' AND extversion='99.99.99'").that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L102
postgresql::server::extension when extension version is latest is expected to contain Postgresql_psql[template_postgis: ALTER EXTENSION "postgis" UPDATE] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: ALTER EXTENSION "postgis" UPDATE') .with(db: 'template_postgis', unless: "SELECT 1 FROM pg_available_extensions WHERE name = 'postgis' AND default_version = installed_version").that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 7.24, Ruby Ver: 2.7): spec/defines/server/extension_spec.rb#L127
postgresql::server::extension is expected to contain File[/var/lib/postgresql/11/main] Failure/Error: it { is_expected.to contain_file('/var/lib/postgresql/11/main') } # FIXME: be more precise Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis_db2]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az628-190.r4fdq2ywz1qejbk2pyyfifn3aa.cx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L22
postgresql::server::extension with mandatory arguments only is expected to contain Postgresql_psql[template_postgis: CREATE EXTENSION "postgis"] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: CREATE EXTENSION "postgis"') .with(db: 'template_postgis', command: 'CREATE EXTENSION "postgis"').that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L33
postgresql::server::extension when schema is specified is expected to contain Postgresql_psql[template_postgis: ALTER EXTENSION "postgis" SET SCHEMA "pg_catalog"] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: ALTER EXTENSION "postgis" SET SCHEMA "pg_catalog"') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L43
postgresql::server::extension when setting package name is expected to contain Package[postgis] that comes before Postgresql_psql[template_postgis: CREATE EXTENSION "postgis"] Failure/Error: expect(subject).to contain_package('postgis') .with(ensure: 'installed', name: 'postgis').that_comes_before('Postgresql_psql[template_postgis: CREATE EXTENSION "postgis"]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L55
postgresql::server::extension when ensuring absence is expected to contain Postgresql_psql[template_postgis: DROP EXTENSION "postgis"] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: DROP EXTENSION "postgis"') .with(db: 'template_postgis', command: 'DROP EXTENSION "postgis"').that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L60
postgresql::server::extension when ensuring absence is expected to contain Package[postgis] with ensure => "absent" and name => "postgis" Failure/Error: expect(subject).to contain_package('postgis').with(ensure: 'absent', name: 'postgis') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L70
postgresql::server::extension when ensuring absence when keeping package installed is expected to contain Postgresql_psql[template_postgis: DROP EXTENSION "postgis"] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: DROP EXTENSION "postgis"') .with(db: 'template_postgis', command: 'DROP EXTENSION "postgis"').that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L75
postgresql::server::extension when ensuring absence when keeping package installed is expected to contain Package[postgis] that requires Postgresql_psql[template_postgis: DROP EXTENSION "postgis"] Failure/Error: expect(subject).to contain_package('postgis') .with(ensure: 'installed', name: 'postgis').that_requires('Postgresql_psql[template_postgis: DROP EXTENSION "postgis"]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L89
postgresql::server::extension when extension version is specified is expected to contain Postgresql_psql[template_postgis: ALTER EXTENSION "postgis" UPDATE TO '99.99.99'] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: ALTER EXTENSION "postgis" UPDATE TO \'99.99.99\'') .with(db: 'template_postgis', unless: "SELECT 1 FROM pg_extension WHERE extname='postgis' AND extversion='99.99.99'").that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L102
postgresql::server::extension when extension version is latest is expected to contain Postgresql_psql[template_postgis: ALTER EXTENSION "postgis" UPDATE] that requires Postgresql::Server::Database[template_postgis] Failure/Error: expect(subject).to contain_postgresql_psql('template_postgis: ALTER EXTENSION "postgis" UPDATE') .with(db: 'template_postgis', unless: "SELECT 1 FROM pg_available_extensions WHERE name = 'postgis' AND default_version = installed_version").that_requires('Postgresql::Server::Database[template_postgis]') Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net
Spec / Spec tests (Puppet: ~> 8.0, Ruby Ver: 3.2): spec/defines/server/extension_spec.rb#L127
postgresql::server::extension is expected to contain File[/var/lib/postgresql/11/main] Failure/Error: it { is_expected.to contain_file('/var/lib/postgresql/11/main') } # FIXME: be more precise Puppet::PreformattedError: Evaluation Error: Error while evaluating a Resource Statement, Postgresql::Server::Extension[postgis_db2]: parameter 'port' expects a Stdlib::Port = Integer[0, 65535] value, got Undef (line: 6) on node fv-az259-132.nxnqhby4qkoexpon2s1bx5vqxg.dx.internal.cloudapp.net