Skip to content

Use the mongosh command instead of the old mongo command #380

Use the mongosh command instead of the old mongo command

Use the mongosh command instead of the old mongo command #380

Triggered via pull request March 21, 2024 14:51
Status Failure
Total duration 13m 32s
Artifacts

ci.yml

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

Annotations

80 errors
Puppet / Puppet 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L10
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_145327540.pp.Ytklf7 Last 10 lines of output were: Mar 21 15:00:56 centos7-64-puppet7.example.com systemd[1]: Unit mongos.service entered failed state. Mar 21 15:00:56 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 445.98 seconds
Puppet / Puppet 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 7 - CentOS 7: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 7 - CentOS 7: spec/acceptance/server_spec.rb#L79
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_150131483.pp.xRVUpR Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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 4.37 seconds
Puppet / Puppet 7 - CentOS 7: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 7 - CentOS 7: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 7 - CentOS 7: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'centos7-64-puppet7.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 7 - CentOS 7
Process completed with exit code 1.
Puppet / Puppet 8 - CentOS 7: spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145327785.pp.P3zJCL Last 10 lines of output were: Mar 21 15:00:56 centos7-64-puppet8.example.com systemd[1]: Unit mongos.service entered failed state. Mar 21 15:00:56 centos7-64-puppet8.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 446.04 seconds
Puppet / Puppet 8 - CentOS 7: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 8 - CentOS 7: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 8 - CentOS 7: spec/acceptance/server_spec.rb#L79
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_150132493.pp.75xczC Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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 4.40 seconds
Puppet / Puppet 8 - CentOS 7: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 8 - CentOS 7: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 8 - CentOS 7: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'centos7-64-puppet8.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 8 - CentOS 7
Process completed with exit code 1.
Puppet / Puppet 8 - Debian 11: spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145343720.pp.aZcCYJ Last 10 lines of output were: Mar 21 15:01:14 debian11-64-puppet8.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:01:14 debian11-64-puppet8.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 447.08 seconds
Puppet / Puppet 8 - Debian 11: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 8 - Debian 11: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 8 - Debian 11: spec/acceptance/server_spec.rb#L79
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_150204568.pp.3Zza4V Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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.21 seconds
Puppet / Puppet 8 - Debian 11: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 8 - Debian 11: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 8 - Debian 11: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'debian11-64-puppet8.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 8 - Debian 11
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 11: spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145347821.pp.3FGj01 Last 10 lines of output were: Mar 21 15:01:19 debian11-64-puppet7.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:01:19 debian11-64-puppet7.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 447.33 seconds
Puppet / Puppet 7 - Debian 11: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 7 - Debian 11: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 7 - Debian 11: spec/acceptance/server_spec.rb#L79
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_150209550.pp.DoidCL Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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.23 seconds
Puppet / Puppet 7 - Debian 11: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 7 - Debian 11: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 7 - Debian 11: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'debian11-64-puppet7.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 7 - Debian 11
Process completed with exit code 1.
Puppet / Puppet 7 - Debian 10: spec/acceptance/mongos_spec.rb#L10
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_145343866.pp.AUUi4o Last 10 lines of output were: Mar 21 15:01:15 debian10-64-puppet7.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:01:15 debian10-64-puppet7.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 447.61 seconds
Puppet / Puppet 7 - Debian 10: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 7 - Debian 10: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 7 - Debian 10: spec/acceptance/server_spec.rb#L79
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_150209114.pp.Hc18JH Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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.52 seconds
Puppet / Puppet 7 - Debian 10: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 7 - Debian 10: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 7 - Debian 10: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'debian10-64-puppet7.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 7 - Debian 10
Process completed with exit code 1.
Puppet / Puppet 8 - Debian 10: spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145349140.pp.uowJcL Last 10 lines of output were: Mar 21 15:01:20 debian10-64-puppet8.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:01:20 debian10-64-puppet8.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 447.87 seconds
Puppet / Puppet 8 - Debian 10: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 8 - Debian 10: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 8 - Debian 10: spec/acceptance/server_spec.rb#L79
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_150212409.pp.NSpUa8 Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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.45 seconds
Puppet / Puppet 8 - Debian 10: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 8 - Debian 10: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 8 - Debian 10: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'debian10-64-puppet8.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 8 - Debian 10
Process completed with exit code 1.
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145351912.pp.KQjf0w Last 10 lines of output were: Mar 21 15:01:25 ubuntu2004-64-puppet8.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:01:25 ubuntu2004-64-puppet8.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 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] Warning: /Stage[main]/Mongodb::Mongos::Service/Mongodb_conn_validator[mongos]: Skipping because of failed dependencies �[mNotice: Applied catalog in 448.18 seconds
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 8 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 8 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L79
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_150224380.pp.E4kZ9u Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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.36 seconds
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 8 - Ubuntu 20.04: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet8.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 8 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / Puppet 8 - CentOS 8: spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145504740.pp.olH2X9 Last 10 lines of output were: Mar 21 15:02:34 centos8-64-puppet8.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:02:34 centos8-64-puppet8.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 446.92 seconds
Puppet / Puppet 8 - CentOS 8: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 8 - CentOS 8: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 8 - CentOS 8: spec/acceptance/server_spec.rb#L79
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_150311479.pp.HrHEzC Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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 4.39 seconds
Puppet / Puppet 8 - CentOS 8: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 8 - CentOS 8: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 8 - CentOS 8: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'centos8-64-puppet8.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 8 - CentOS 8
Process completed with exit code 1.
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L10
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_145403387.pp.0ZOIaq Last 10 lines of output were: Mar 21 15:01:37 ubuntu2004-64-puppet7.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:01:37 ubuntu2004-64-puppet7.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 448.66 seconds
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 7 - Ubuntu 20.04: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L79
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_150234476.pp.MIsJYE Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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.38 seconds
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 7 - Ubuntu 20.04: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'ubuntu2004-64-puppet7.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 7 - Ubuntu 20.04
Process completed with exit code 1.
Puppet / Puppet 7 - CentOS 8: spec/acceptance/mongos_spec.rb#L10
mongodb::mongos class installation works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_145513600.pp.tOqbMD Last 10 lines of output were: Mar 21 15:02:43 centos8-64-puppet7.example.com systemd[1]: mongos.service: Failed with result 'timeout'. Mar 21 15:02:43 centos8-64-puppet7.example.com systemd[1]: Failed to start MongoDB Database Server. �[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 447.03 seconds
Puppet / Puppet 7 - CentOS 8: spec/acceptance/mongos_spec.rb#L38
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 / Puppet 7 - CentOS 8: spec/acceptance/mongos_spec.rb#L42
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 / Puppet 7 - CentOS 8: spec/acceptance/server_spec.rb#L79
mongodb::server class installation using authentication works with no errors Failure/Error: apply_manifest(pp, catch_failures: true) Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 6 running: puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_150318647.pp.PoDOPK Last 10 lines of output were: �[mNotice: /Stage[main]/Mongodb::Server::Config/File[/root/.mongoshrc.js]/content: content changed '{sha256}f7eec824ed4427fcde6092515a2ec1bc6e15dc06291cbf99ddb5a140616cb246' to '{sha256}f4956ae86af4c64bb234f3ada827f378d0bcbdb25896d551c68f9c1e50037ab5' 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 Warning: Mongosh arguments Warning: admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster Error: Could not prefetch mongodb_user provider 'mongodb': Execution of '/usr/bin/mongosh admin --quiet --host 127.0.0.1:27017 --username admin --password password --eval load('/root/.mongoshrc.js'); db.isMaster().ismaster' returned 1: MongoServerError: Authentication failed. 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 4.38 seconds
Puppet / Puppet 7 - CentOS 8: spec/acceptance/server_spec.rb#L136
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(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 ==)
Puppet / Puppet 7 - CentOS 8: spec/acceptance/server_spec.rb#L137
mongodb::server class installation using authentication Command "mongosh admin --quiet --eval "load('/root/.mongoshrc.js');EJSON.stringify(db.getUser('admin')['customData'])"" stdout is expected to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Failure/Error: its(:stdout) { is_expected.to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" } expected "" to match "{ \"createdBy\" : \"Puppet Mongodb_user['User admin on db admin']\" }\n" Diff: @@ -1,2 +1 @@ -{ "createdBy" : "Puppet Mongodb_user['User admin on db admin']" }
Puppet / Puppet 7 - CentOS 8: spec/acceptance/user_spec.rb#L47
mongodb_database with default port auth should fail Failure/Error: shell("mongosh testdb --quiet --eval 'db.auth(\"testuser\",\"passw0rd\")'") do |r| expect(r.stderr.chomp).to contain('MongoServerError: Authentication failed') end Beaker::Host::CommandFailure: Host 'centos8-64-puppet7.example.com' exited with 1 running: mongosh testdb --quiet --eval 'db.auth("testuser","passw0rd")' Last 10 lines of output were: MongoServerError: Authentication failed.
Puppet / Puppet 7 - CentOS 8
Process completed with exit code 1.