Skip to content

Merge remote-tracking branch 'origin/SIRE-9538' #31

Merge remote-tracking branch 'origin/SIRE-9538'

Merge remote-tracking branch 'origin/SIRE-9538' #31

Triggered via push August 23, 2023 14:41
Status Failure
Total duration 14m 5s
Artifacts

ci.yml

on: push
Puppet  /  Static validations
33s
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_144334933.pp.qMjTWG 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 �[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[testdb1]/Mongodb_user[User testuser on db testdb1]: Skipping because of failed dependencies 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 48.23 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_144425530.pp.tAg4HJ 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.09 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_144458070.pp.c6RIgs 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 12.26 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 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_144342529.pp.PSXH33 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 42.58 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-08-23T14:44:30.720+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused 2023-08-23T14:44:30.721+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_144430728.pp.NtNl2Y 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 29.48 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-08-23T14:45:05.801+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27018, in(checking socket for error after poll), reason: Connection refused 2023-08-23T14:45:05.802+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_144505808.pp.mqRLXg 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 11.44 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 - 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_144354854.pp.UPrjAC 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 46.29 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-08-23T14:44:48.142+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27017, in(checking socket for error after poll), reason: Connection refused 2023-08-23T14:44:48.142+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_144448151.pp.jvYDTY 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.58 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-08-23T14:45:25.613+0000 W NETWORK [thread1] Failed to connect to 127.0.0.1:27018, in(checking socket for error after poll), reason: Connection refused 2023-08-23T14:45:25.613+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_144525621.pp.OM6zgE 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.96 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 - 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_144344820.pp.pdzOOm 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.02 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_144519900.pp.A3ofA0 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 266.01 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 ==)