Skip to content

SIRE-9538 Removed unnecessary empty line #30

SIRE-9538 Removed unnecessary empty line

SIRE-9538 Removed unnecessary empty line #30

Triggered via push July 3, 2023 15:45
Status Failure
Total duration 12m 27s
Artifacts

ci.yml

on: push
Puppet  /  Static validations
29s
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 - 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_154738215.pp.iPLM13 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 39.68 seconds
Puppet / 7 - CentOS 7: spec/acceptance/database_spec.rb#L25
mongodb_database creating a database with default port creates the databases Failure/Error: shell("mongo testdb1 --eval 'printjson(db.getMongo().getDBs())'") Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 127 running: mongo testdb1 --eval 'printjson(db.getMongo().getDBs())' Last 10 lines of output were: bash: mongo: command not found
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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_154820526.pp.bspABY Last 10 lines of output were: Error: Could not prefetch mongodb_database provider 'mongodb': no implicit conversion of Hash into String Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because of failed dependencies 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 �[mNotice: Applied catalog in 34.54 seconds
Puppet / 7 - CentOS 7: spec/acceptance/database_spec.rb#L52
mongodb_database creating a database with custom port creates the database Failure/Error: shell("mongo testdb1 --port 27018 --eval 'printjson(db.getMongo().getDBs())'") Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 127 running: mongo testdb1 --port 27018 --eval 'printjson(db.getMongo().getDBs())' Last 10 lines of output were: bash: mongo: command not found
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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_154857473.pp.7fSoYq Last 10 lines of output were: Warning: /Stage[main]/Mongodb::Replset/Mongodb_replset[test]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Install/Package[mongodb_mongos]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Config/File[/etc/mongos.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Config/File[/etc/sysconfig/mongos]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Systemd::Unit_file[mongos.service]/File[/etc/systemd/system/mongos.service]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Systemd::Unit_file[mongos.service]/Systemd::Daemon_reload[mongos.service]/Exec[systemd-mongos.service-systemctl-daemon-reload]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Systemd::Unit_file[mongos.service]/Service[mongos.service]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]: Skipping because of failed dependencies �[mNotice: Applied catalog in 17.47 seconds
Puppet / 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L43
mongodb::mongos class installation File "/etc/mongos.conf" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/mongos.conf".file?` to be truthy, got false
Puppet / 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L47
mongodb::mongos class installation Service "mongos" is expected to be enabled Failure/Error: it { is_expected.to be_enabled } expected Service "mongos" to be enabled
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/mongos_spec.rb#L56
mongodb::mongos class installation Port "27019" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "27019" to be listening
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_154747225.pp.RPIe3a Last 10 lines of output were: Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because of failed dependencies 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: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 43.83 seconds
Puppet / 7 - Ubuntu 18.04: spec/acceptance/database_spec.rb#L25
mongodb_database creating a database with default port creates the databases Failure/Error: shell("mongo testdb1 --eval 'printjson(db.getMongo().getDBs())'") Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 1 running: mongo testdb1 --eval 'printjson(db.getMongo().getDBs())' Last 10 lines of output were: MongoDB shell version v3.6.3 connecting to: mongodb://127.0.0.1:27017/testdb1 2023-07-03T15:48:37.858+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused 2023-07-03T15:48:37.858+0000 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed : connect@src/mongo/shell/mongo.js:251:13 @(connect):1:6 exception: connect failed
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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_154837866.pp.S1F3eX Last 10 lines of output were: Error: Could not prefetch mongodb_database provider 'mongodb': no implicit conversion of Hash into String Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because of failed dependencies 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 �[mNotice: Applied catalog in 30.50 seconds
Puppet / 7 - Ubuntu 18.04: spec/acceptance/database_spec.rb#L52
mongodb_database creating a database with custom port creates the database Failure/Error: shell("mongo testdb1 --port 27018 --eval 'printjson(db.getMongo().getDBs())'") Beaker::Host::CommandFailure: Host 'ubuntu1804-64-puppet7.example.com' exited with 1 running: mongo testdb1 --port 27018 --eval 'printjson(db.getMongo().getDBs())' Last 10 lines of output were: MongoDB shell version v3.6.3 connecting to: mongodb://127.0.0.1:27018/testdb1 2023-07-03T15:49:15.060+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27018, in(checking socket for error after poll), reason: Connection refused 2023-07-03T15:49:15.062+0000 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27018, connection attempt failed : connect@src/mongo/shell/mongo.js:251:13 @(connect):1:6 exception: connect failed
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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_154915071.pp.Rrm61i Last 10 lines of output were: Warning: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Server::Service/Mongodb_conn_validator[mongodb]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Client/Package[mongodb_client]: Skipping because of failed dependencies Error: Could not prefetch mongodb_replset provider 'mongo': class or module required for rescue clause Warning: /Stage[main]/Mongodb::Replset/Mongodb_replset[test]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Config/File[/etc/mongodb-shard.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Config/File[/etc/init.d/mongos]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]: Skipping because of failed dependencies �[mNotice: Applied catalog in 12.55 seconds
Puppet / 7 - Ubuntu 18.04: spec/acceptance/mongos_spec.rb#L43
mongodb::mongos class installation File "/etc/mongodb-shard.conf" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/mongodb-shard.conf".file?` to be truthy, got false
Puppet / 7 - Ubuntu 18.04: spec/acceptance/mongos_spec.rb#L47
mongodb::mongos class installation Service "mongos" is expected to be enabled Failure/Error: it { is_expected.to be_enabled } expected Service "mongos" to be enabled
Puppet / 7 - Ubuntu 18.04: 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 - 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/mongos_spec.rb#L56
mongodb::mongos class installation Port "27019" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "27019" to be listening
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_154808652.pp.ew2kr6 Last 10 lines of output were: Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because of failed dependencies 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: Creating state file /opt/puppetlabs/puppet/cache/state/state.yaml �[mNotice: Applied catalog in 45.99 seconds
Puppet / 7 - Ubuntu 20.04: spec/acceptance/database_spec.rb#L25
mongodb_database creating a database with default port creates the databases Failure/Error: shell("mongo testdb1 --eval 'printjson(db.getMongo().getDBs())'") Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: mongo testdb1 --eval 'printjson(db.getMongo().getDBs())' Last 10 lines of output were: MongoDB shell version v3.6.8 connecting to: mongodb://127.0.0.1:27017/testdb1 2023-07-03T15:49:02.913+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused 2023-07-03T15:49:02.914+0000 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27017, connection attempt failed : connect@src/mongo/shell/mongo.js:257:13 @(connect):1:6 exception: connect failed
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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_154902922.pp.rOBodW Last 10 lines of output were: Error: Could not prefetch mongodb_database provider 'mongodb': no implicit conversion of Hash into String Warning: /Stage[main]/Main/Mongodb::Db[testdb1]/Mongodb_database[testdb1]: Skipping because of failed dependencies 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 �[mNotice: Applied catalog in 30.46 seconds
Puppet / 7 - Ubuntu 20.04: spec/acceptance/database_spec.rb#L52
mongodb_database creating a database with custom port creates the database Failure/Error: shell("mongo testdb1 --port 27018 --eval 'printjson(db.getMongo().getDBs())'") Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: mongo testdb1 --port 27018 --eval 'printjson(db.getMongo().getDBs())' Last 10 lines of output were: MongoDB shell version v3.6.8 connecting to: mongodb://127.0.0.1:27018/testdb1 2023-07-03T15:49:41.627+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27018, in(checking socket for error after poll), reason: Connection refused 2023-07-03T15:49:41.627+0000 E QUERY [thread1] Error: couldn't connect to server 127.0.0.1:27018, connection attempt failed : connect@src/mongo/shell/mongo.js:257:13 @(connect):1:6 exception: connect failed
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 4 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_154941637.pp.RqyR8d Last 10 lines of output were: Warning: /Stage[main]/Mongodb::Server::Service/Service[mongodb]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Server::Service/Mongodb_conn_validator[mongodb]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Client/Package[mongodb_client]: Skipping because of failed dependencies Error: Could not prefetch mongodb_replset provider 'mongo': class or module required for rescue clause Warning: /Stage[main]/Mongodb::Replset/Mongodb_replset[test]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Config/File[/etc/mongodb-shard.conf]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Config/File[/etc/init.d/mongos]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Service[mongos]: Skipping because of failed dependencies Warning: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]: Skipping because of failed dependencies �[mNotice: Applied catalog in 12.40 seconds
Puppet / 7 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L43
mongodb::mongos class installation File "/etc/mongodb-shard.conf" is expected to be file Failure/Error: it { is_expected.to be_file } expected `File "/etc/mongodb-shard.conf".file?` to be truthy, got false
Puppet / 7 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L47
mongodb::mongos class installation Service "mongos" is expected to be enabled Failure/Error: it { is_expected.to be_enabled } expected Service "mongos" to be enabled
Puppet / 7 - Ubuntu 20.04: 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 - 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/mongos_spec.rb#L56
mongodb::mongos class installation Port "27019" is expected to be listening Failure/Error: it { is_expected.to be_listening } expected Port "27019" to be listening
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_154740467.pp.oMV9pB 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 36.34 seconds
Puppet / 7 - Debian 10: spec/acceptance/database_spec.rb#L25
mongodb_database creating a database with default port creates the databases Failure/Error: shell("mongo testdb1 --eval 'printjson(db.getMongo().getDBs())'") Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 127 running: mongo testdb1 --eval 'printjson(db.getMongo().getDBs())' Last 10 lines of output were: bash: mongo: command not found
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_154904334.pp.KRlnIp 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 263.71 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#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 "admin.auth('admin', 'password')" Failure/Error: it { is_expected.to contain 'admin.auth(\'admin\', \'password\')' } expected File "/root/.mongosh.js" to contain "admin.auth('admin', 'password')"
Puppet / 7 - Debian 10: spec/acceptance/server_spec.rb#L161
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongosh.js');printjson(db.getUser('admin')['customData'])"" exit_status is expected to eq 0 Failure/Error: its(:exit_status) { is_expected.to eq 0 } expected: 0 got: 1 (compared using ==)