modernize test framework and add ci workflow #16
Annotations
7 errors
Run tests:
spec/support/unit/shared/server.rb#L15
puppetdb::server::firewall custom ports and open firewall is expected to contain Class[puppetdb::server::firewall] with http_port => "9000", open_http_port => true, ssl_port => "9001" and open_ssl_port => true
Failure/Error: it { is_expected.to contain_class('puppetdb::server::firewall').with(with) }
Puppet::Error:
no parameter named 'action' (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on Firewall[9000 accept - puppetdb] (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on node fv-az1249-384.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Shared Example Group: "puppetdb::server::firewall" called from ./spec/unit/classes/server/firewall_spec.rb:20
|
Run tests:
spec/support/unit/shared/server.rb#L16
puppetdb::server::firewall custom ports and open firewall is expected to contain Class[firewall]
Failure/Error: it { is_expected.to contain_class('firewall') }
Puppet::Error:
no parameter named 'action' (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on Firewall[9000 accept - puppetdb] (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on node fv-az1249-384.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Shared Example Group: "puppetdb::server::firewall" called from ./spec/unit/classes/server/firewall_spec.rb:20
|
Run tests:
spec/support/unit/shared/server.rb#L18
puppetdb::server::firewall custom ports and open firewall is expected to contain Firewall[9000 accept - puppetdb] with dport => "9000", proto => "tcp" and action => "accept"
Failure/Error:
is_expected.method(option).call contain_firewall("#{with[:http_port]} accept - puppetdb")
.with(
dport: with[:http_port],
proto: 'tcp',
action: 'accept',
)
Puppet::Error:
no parameter named 'action' (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on Firewall[9000 accept - puppetdb] (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on node fv-az1249-384.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Shared Example Group: "puppetdb::server::firewall" called from ./spec/unit/classes/server/firewall_spec.rb:20
|
Run tests:
spec/support/unit/shared/server.rb#L28
puppetdb::server::firewall custom ports and open firewall is expected to contain Firewall[9001 accept - puppetdb] with dport => "9001", proto => "tcp" and action => "accept"
Failure/Error:
is_expected.method(option).call contain_firewall("#{with[:ssl_port]} accept - puppetdb")
.with(
dport: with[:ssl_port],
proto: 'tcp',
action: 'accept',
)
Puppet::Error:
no parameter named 'action' (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on Firewall[9000 accept - puppetdb] (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/firewall.pp, line: 11) on node fv-az1249-384.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
Shared Example Group: "puppetdb::server::firewall" called from ./spec/unit/classes/server/firewall_spec.rb:20
|
Run tests:
spec/unit/classes/server/validate_db_spec.rb#L34
puppetdb::server::validate_db with parameter tests with jdbc_ssl_properties set false is expected to contain Postgresql::Validate_db_connection[validate puppetdb postgres connection] with database_host => "localhost", database_port => "5432", database_username => "puppetdb", database_password => "puppetdb" and database_name => "puppetdb"
Failure/Error:
is_expected.to contain_postgresql__validate_db_connection('validate puppetdb postgres connection')
.with(
database_host: 'localhost',
database_port: '5432',
database_username: 'puppetdb',
database_password: 'puppetdb',
database_name: 'puppetdb',
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'postgresql::validate_db_connection' (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/validate_db.pp, line: 16, column: 5) on node fv-az1249-384.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
|
Run tests:
spec/unit/classes/server/validate_read_db_spec.rb#L34
puppetdb::server::validate_read_db with parameter tests with jdbc_ssl_properties set false is expected to contain Postgresql::Validate_db_connection[validate puppetdb postgres (read) connection] with database_host => "localhost", database_port => "5432", database_username => "puppetdb", database_password => "puppetdb" and database_name => "puppetdb"
Failure/Error:
is_expected.to contain_postgresql__validate_db_connection('validate puppetdb postgres (read) connection')
.with(
database_host: 'localhost',
database_port: '5432',
database_username: 'puppetdb',
database_password: 'puppetdb',
database_name: 'puppetdb',
)
Puppet::PreformattedError:
Evaluation Error: Error while evaluating a Resource Statement, Unknown resource type: 'postgresql::validate_db_connection' (file: /home/runner/work/puppetlabs-puppetdb/puppetlabs-puppetdb/spec/fixtures/modules/puppetdb/manifests/server/validate_read_db.pp, line: 16, column: 5) on node fv-az1249-384.s2f5543ugbre5olue0o55jqcqe.bx.internal.cloudapp.net
|
Run tests
Process completed with exit code 1.
|
The logs for this run have expired and are no longer available.
Loading