Skip to content

SIRE-9538 fix rubocop #19

SIRE-9538 fix rubocop

SIRE-9538 fix rubocop #19

Triggered via push June 20, 2023 12:26
Status Failure
Total duration 14m 36s
Artifacts

ci.yml

on: push
Puppet  /  Static validations
32s
Puppet / Static validations
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet  /  Test suite
0s
Puppet / Test suite
Fit to window
Zoom out
Zoom in

Annotations

40 errors
Puppet / 7 - Ubuntu 18.04: spec/acceptance/database_spec.rb#L8
mongodb_database creating a database with default port compiles with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122848368.pp.th6M8A Last 10 lines of output were: Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 45.58 seconds
Puppet / 7 - Ubuntu 18.04: spec/acceptance/database_spec.rb#L32
mongodb_database creating a database with custom port works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122939746.pp.fgIvGO Last 10 lines of output were: Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because provider prefetch failed Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 32.68 seconds
Puppet / 7 - Ubuntu 18.04: spec/acceptance/mongos_spec.rb#L20
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123018365.pp.SBFLYo Last 10 lines of output were: Info: Class[Mongodb::Mongos::Service]: Scheduling refresh of Service[mongos] �[mNotice: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]: Unscheduling refresh on Service[mongos] �[mNotice: Failed to connect to mongodb within timeout window of 240 seconds; giving up. Error: Unable to connect to mongodb server! (127.0.0.1:27017) Error: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]/ensure: change from 'absent' to 'present' failed: Unable to connect to mongodb server! (127.0.0.1:27017) Info: Class[Mongodb::Mongos::Service]: Unscheduling all events on Class[Mongodb::Mongos::Service] Info: Class[Mongodb::Mongos]: Unscheduling all events on Class[Mongodb::Mongos] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 265.45 seconds
Puppet / 7 - Ubuntu 18.04: spec/acceptance/mongos_spec.rb#L52
mongodb::mongos class installation Port "27017" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "27017" to be listening
Puppet / 7 - Ubuntu 18.04: spec/acceptance/server_spec.rb#L104
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123555501.pp.VpeZpW Last 10 lines of output were: Info: Applying configuration version '1687264560' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/etc/mongodb.conf]/content: content changed '{sha256}0271a4c9b2902727d245e24940dfb95907bf40474611260c0c2aa58b3f55e27c' to '{sha256}dceb8fb5781a7f80849374c6697528b69da92d2bc33ddc111cf6f4027d264770' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}c371618e71885570db4c2bc95d300923800372be7286c9763b6820a05bfe3136' Info: Class[Mongodb::Server::Config]: Scheduling refresh of Class[Mongodb::Server::Service] Info: Class[Mongodb::Server::Service]: Scheduling refresh of Service[mongodb] �[mNotice: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Triggered 'refresh' from 1 event Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing Info: Stage[main]: Unscheduling all events on Stage[main] Warning: /Stage[main]/Main/Mongodb_user[User admin on db admin]: Skipping because provider prefetch failed �[mNotice: Applied catalog in 5.63 seconds
Puppet / 7 - Ubuntu 18.04: spec/acceptance/server_spec.rb#L153
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/root/.mongosh.js".file?` to be truthy, got false
Puppet / 7 - Ubuntu 18.04: spec/acceptance/server_spec.rb#L154
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be owned by "root" Failure/Error: it { is_expected.to be_owned_by 'root' } expected `File "/root/.mongosh.js".owned_by?("root")` to be truthy, got false
Puppet / 7 - Ubuntu 18.04: spec/acceptance/server_spec.rb#L155
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be grouped into "root" Failure/Error: it { is_expected.to be_grouped_into 'root' } expected `File "/root/.mongosh.js".grouped_into?("root")` to be truthy, got false
Puppet / 7 - Ubuntu 18.04: spec/acceptance/server_spec.rb#L156
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be mode 600 Failure/Error: it { is_expected.to be_mode 600 } expected `File "/root/.mongosh.js".mode?(600)` to be truthy, got false
Puppet / 7 - Ubuntu 18.04: spec/acceptance/server_spec.rb#L157
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to contain "db.auth('admin', 'password')" Failure/Error: it { is_expected.to contain 'db.auth(\'admin\', \'password\')' } expected File "/root/.mongosh.js" to contain "db.auth('admin', 'password')"
Puppet / 7 - Ubuntu 20.04: spec/acceptance/database_spec.rb#L8
mongodb_database creating a database with default port compiles with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122845095.pp.RPnXHJ Last 10 lines of output were: Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 45.48 seconds
Puppet / 7 - Ubuntu 20.04: spec/acceptance/database_spec.rb#L32
mongodb_database creating a database with custom port works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122936886.pp.NC2sLZ Last 10 lines of output were: Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because provider prefetch failed Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 32.41 seconds
Puppet / 7 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L20
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123015582.pp.xvEjNu Last 10 lines of output were: Info: Class[Mongodb::Mongos::Service]: Scheduling refresh of Service[mongos] �[mNotice: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]: Unscheduling refresh on Service[mongos] �[mNotice: Failed to connect to mongodb within timeout window of 240 seconds; giving up. Error: Unable to connect to mongodb server! (127.0.0.1:27017) Error: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]/ensure: change from 'absent' to 'present' failed: Unable to connect to mongodb server! (127.0.0.1:27017) Info: Class[Mongodb::Mongos::Service]: Unscheduling all events on Class[Mongodb::Mongos::Service] Info: Class[Mongodb::Mongos]: Unscheduling all events on Class[Mongodb::Mongos] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 265.42 seconds
Puppet / 7 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L52
mongodb::mongos class installation Port "27017" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "27017" to be listening
Puppet / 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L104
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123555596.pp.UU2lIA Last 10 lines of output were: Info: Applying configuration version '1687264561' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/etc/mongodb.conf]/content: content changed '{sha256}0271a4c9b2902727d245e24940dfb95907bf40474611260c0c2aa58b3f55e27c' to '{sha256}dceb8fb5781a7f80849374c6697528b69da92d2bc33ddc111cf6f4027d264770' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}c371618e71885570db4c2bc95d300923800372be7286c9763b6820a05bfe3136' Info: Class[Mongodb::Server::Config]: Scheduling refresh of Class[Mongodb::Server::Service] Info: Class[Mongodb::Server::Service]: Scheduling refresh of Service[mongodb] �[mNotice: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Triggered 'refresh' from 1 event Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing Warning: /Stage[main]/Main/Mongodb_user[User admin on db admin]: Skipping because provider prefetch failed Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 5.43 seconds
Puppet / 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L153
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/root/.mongosh.js".file?` to be truthy, got false
Puppet / 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L154
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be owned by "root" Failure/Error: it { is_expected.to be_owned_by 'root' } expected `File "/root/.mongosh.js".owned_by?("root")` to be truthy, got false
Puppet / 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L155
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be grouped into "root" Failure/Error: it { is_expected.to be_grouped_into 'root' } expected `File "/root/.mongosh.js".grouped_into?("root")` to be truthy, got false
Puppet / 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L156
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be mode 600 Failure/Error: it { is_expected.to be_mode 600 } expected `File "/root/.mongosh.js".mode?(600)` to be truthy, got false
Puppet / 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L157
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to contain "db.auth('admin', 'password')" Failure/Error: it { is_expected.to contain 'db.auth(\'admin\', \'password\')' } expected File "/root/.mongosh.js" to contain "db.auth('admin', 'password')"
Puppet / 7 - Debian 10: spec/acceptance/database_spec.rb#L8
mongodb_database creating a database with default port compiles with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122854705.pp.0WAB7S Last 10 lines of output were: Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 45.45 seconds
Puppet / 7 - Debian 10: spec/acceptance/database_spec.rb#L32
mongodb_database creating a database with custom port works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122945495.pp.VcRmjc Last 10 lines of output were: Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because provider prefetch failed Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 32.74 seconds
Puppet / 7 - Debian 10: spec/acceptance/mongos_spec.rb#L20
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123024125.pp.Imd54b Last 10 lines of output were: Info: Class[Mongodb::Mongos::Service]: Scheduling refresh of Service[mongos] �[mNotice: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]/ensure: ensure changed 'stopped' to 'running' Info: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]: Unscheduling refresh on Service[mongos] �[mNotice: Failed to connect to mongodb within timeout window of 240 seconds; giving up. Error: Unable to connect to mongodb server! (127.0.0.1:27017) Error: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]/ensure: change from 'absent' to 'present' failed: Unable to connect to mongodb server! (127.0.0.1:27017) Info: Class[Mongodb::Mongos::Service]: Unscheduling all events on Class[Mongodb::Mongos::Service] Info: Class[Mongodb::Mongos]: Unscheduling all events on Class[Mongodb::Mongos] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 270.14 seconds
Puppet / 7 - Debian 10: spec/acceptance/mongos_spec.rb#L52
mongodb::mongos class installation Port "27017" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "27017" to be listening
Puppet / 7 - Debian 10: spec/acceptance/server_spec.rb#L104
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123608948.pp.8JTkYQ Last 10 lines of output were: Info: Applying configuration version '1687264574' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/etc/mongod.conf]/content: content changed '{sha256}41c7561050b6d191462e7242c9bf93f98ae5ffa91e6ab8307cc9c5073ca76455' to '{sha256}cbe690d4db3e62992a7dfed4e75b1f30e0072e8a580e38932d54df81617343e8' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}c371618e71885570db4c2bc95d300923800372be7286c9763b6820a05bfe3136' Info: Class[Mongodb::Server::Config]: Scheduling refresh of Class[Mongodb::Server::Service] Info: Class[Mongodb::Server::Service]: Scheduling refresh of Service[mongodb] �[mNotice: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Triggered 'refresh' from 1 event Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing Warning: /Stage[main]/Main/Mongodb_user[User admin on db admin]: Skipping because provider prefetch failed Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 5.84 seconds
Puppet / 7 - Debian 10: spec/acceptance/server_spec.rb#L153
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/root/.mongosh.js".file?` to be truthy, got false
Puppet / 7 - Debian 10: spec/acceptance/server_spec.rb#L154
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be owned by "root" Failure/Error: it { is_expected.to be_owned_by 'root' } expected `File "/root/.mongosh.js".owned_by?("root")` to be truthy, got false
Puppet / 7 - Debian 10: spec/acceptance/server_spec.rb#L155
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be grouped into "root" Failure/Error: it { is_expected.to be_grouped_into 'root' } expected `File "/root/.mongosh.js".grouped_into?("root")` to be truthy, got false
Puppet / 7 - Debian 10: spec/acceptance/server_spec.rb#L156
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be mode 600 Failure/Error: it { is_expected.to be_mode 600 } expected `File "/root/.mongosh.js".mode?(600)` to be truthy, got false
Puppet / 7 - Debian 10: spec/acceptance/server_spec.rb#L157
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to contain "db.auth('admin', 'password')" Failure/Error: it { is_expected.to contain 'db.auth(\'admin\', \'password\')' } expected File "/root/.mongosh.js" to contain "db.auth('admin', 'password')"
Puppet / 7 - CentOS 7: spec/acceptance/database_spec.rb#L8
mongodb_database creating a database with default port compiles with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122855121.pp.D7E4G8 Last 10 lines of output were: Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] Info: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 43.33 seconds
Puppet / 7 - CentOS 7: spec/acceptance/database_spec.rb#L32
mongodb_database creating a database with custom port works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_122941562.pp.Fffp99 Last 10 lines of output were: Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because provider prefetch failed Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Dependency Mongodb_database[testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Dependency Mongodb_user[User testuser on db testdb1] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_database[testdb2]: Skipping because of failed dependencies �[mNotice: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Dependency Mongodb_database[testdb2] has failures: true Warning: /Stage[main]/Main/Mongodb::Db[testdb2]/Mongodb_user[User testuser on db testdb2]: Skipping because of failed dependencies Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 28.32 seconds
Puppet / 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L20
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123013073.pp.ZVSlvR Last 10 lines of output were: Jun 20 12:37:27 centos7-64-puppet7.example.com systemd[1]: Unit mongos.service entered failed state. Jun 20 12:37:27 centos7-64-puppet7.example.com systemd[1]: mongos.service failed. �[mNotice: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]: Triggered 'refresh' from 2 events �[mNotice: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]: Dependency Service[mongos] has failures: true Warning: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]: Skipping because of failed dependencies Info: Class[Mongodb::Mongos::Service]: Unscheduling all events on Class[Mongodb::Mongos::Service] Info: Class[Mongodb::Mongos]: Unscheduling all events on Class[Mongodb::Mongos] Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 431.83 seconds
Puppet / 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L48
mongodb::mongos class installation Service "mongos" is expected to be running Failure/Error: it { is_expected.to be_running } expected Service "mongos" to be running
Puppet / 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L52
mongodb::mongos class installation Port "27017" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "27017" to be listening
Puppet / 7 - CentOS 7: spec/acceptance/server_spec.rb#L104
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_123802904.pp.i24KeW Last 10 lines of output were: Info: Applying configuration version '1687264685' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/etc/mongod.conf]/content: content changed '{sha256}a598b3ee8c49312e66e2a045a5a07a2f077ab070018ccaa029eefdff8ebd52d0' to '{sha256}a12ad999b73aa27ae1bc2c8433f7ec3184a37f8a725ad672b1cabab426175185' �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}c371618e71885570db4c2bc95d300923800372be7286c9763b6820a05bfe3136' Info: Class[Mongodb::Server::Config]: Scheduling refresh of Class[Mongodb::Server::Service] Info: Class[Mongodb::Server::Service]: Scheduling refresh of Service[mongodb] �[mNotice: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Triggered 'refresh' from 1 event Error: Could not prefetch mongodb_user provider 'mongodb': Command mongo is missing Warning: /Stage[main]/Main/Mongodb_user[User admin on db admin]: Skipping because provider prefetch failed Info: Stage[main]: Unscheduling all events on Stage[main] �[mNotice: Applied catalog in 1.26 seconds
Puppet / 7 - CentOS 7: spec/acceptance/server_spec.rb#L153
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/root/.mongosh.js".file?` to be truthy, got false
Puppet / 7 - CentOS 7: spec/acceptance/server_spec.rb#L154
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be owned by "root" Failure/Error: it { is_expected.to be_owned_by 'root' } expected `File "/root/.mongosh.js".owned_by?("root")` to be truthy, got false
Puppet / 7 - CentOS 7: spec/acceptance/server_spec.rb#L155
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be grouped into "root" Failure/Error: it { is_expected.to be_grouped_into 'root' } expected `File "/root/.mongosh.js".grouped_into?("root")` to be truthy, got false
Puppet / 7 - CentOS 7: spec/acceptance/server_spec.rb#L156
mongodb::server class installation using authentication File "/root/.mongosh.js" is expected to be mode 600 Failure/Error: it { is_expected.to be_mode 600 } expected `File "/root/.mongosh.js".mode?(600)` to be truthy, got false