Use the mongosh command instead of the old mongo command #343
ci.yml
on: pull_request
Puppet
/
Static validations
18s
Matrix: Puppet / acceptance
Matrix: Puppet / unit
Puppet
/
Test suite
0s
Annotations
72 errors
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_164057117.pp.JzQ3tj
Last 10 lines of output were:
Mar 19 16:48:26 centos8-64-puppet7.example.com systemd[1]: mongos.service: Failed with result 'timeout'.
Mar 19 16:48:26 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.05 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_changes: true)
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164909367.pp.Jl75VF
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet7.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710866951'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 0.90 seconds
|
Puppet / Puppet 7 - CentOS 8:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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.
|
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_164103289.pp.XrEx57
Last 10 lines of output were:
Mar 19 16:48:32 centos7-64-puppet7.example.com systemd[1]: Unit mongos.service entered failed state.
Mar 19 16:48:32 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 446.32 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_changes: true)
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164914010.pp.xiQEuS
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet7.example.com in environment production in 0.11 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710866955'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 0.90 seconds
|
Puppet / Puppet 7 - CentOS 7:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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_164104484.pp.fPDAeY
Last 10 lines of output were:
Mar 19 16:48:33 centos7-64-puppet8.example.com systemd[1]: Unit mongos.service entered failed state.
Mar 19 16:48:33 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.15 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_changes: true)
Beaker::Host::CommandFailure:
Host 'centos7-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164917123.pp.wXiKio
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for centos7-64-puppet8.example.com in environment production in 0.13 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710866959'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 0.93 seconds
|
Puppet / Puppet 8 - CentOS 7:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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 - 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_164114160.pp.ozHZ39
Last 10 lines of output were:
Mar 19 16:48:43 centos8-64-puppet8.example.com systemd[1]: mongos.service: Failed with result 'timeout'.
Mar 19 16:48:43 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.89 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_changes: true)
Beaker::Host::CommandFailure:
Host 'centos8-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164926882.pp.If4B01
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for centos8-64-puppet8.example.com in environment production in 0.12 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710866968'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 0.90 seconds
|
Puppet / Puppet 8 - CentOS 8:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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 - 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_164106019.pp.5R3iuH
Last 10 lines of output were:
Mar 19 16:48:36 debian11-64-puppet7.example.com systemd[1]: mongos.service: Failed with result 'timeout'.
Mar 19 16:48:36 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.21 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_changes: true)
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164935434.pp.nQZHk8
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet7.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710866978'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 1.77 seconds
|
Puppet / Puppet 7 - Debian 11:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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 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_164107610.pp.bRGnHC
Last 10 lines of output were:
Mar 19 16:48:38 debian11-64-puppet8.example.com systemd[1]: mongos.service: Failed with result 'timeout'.
Mar 19 16:48:38 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.40 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_changes: true)
Beaker::Host::CommandFailure:
Host 'debian11-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_164937062.pp.U3d0x3
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for debian11-64-puppet8.example.com in environment production in 0.21 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710866980'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 1.76 seconds
|
Puppet / Puppet 8 - Debian 11:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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 - 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_164119206.pp.LRobWS
Last 10 lines of output were:
Mar 19 16:48:52 ubuntu2004-64-puppet7.example.com systemd[1]: mongos.service: Failed with result 'timeout'.
Mar 19 16:48:52 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.33 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_changes: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet7.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_165002015.pp.EIatOO
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet7.example.com in environment production in 0.20 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710867006'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 1.90 seconds
|
Puppet / Puppet 7 - Ubuntu 20.04:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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 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_164121925.pp.zIxMBy
Last 10 lines of output were:
Mar 19 16:48:56 ubuntu2004-64-puppet8.example.com systemd[1]: mongos.service: Failed with result 'timeout'.
Mar 19 16:48:56 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
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.97 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_changes: true)
Beaker::Host::CommandFailure:
Host 'ubuntu2004-64-puppet8.example.com' exited with 2 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_165012751.pp.IRlYEv
Last 10 lines of output were:
Info: Loading facts
�[mNotice: Compiled catalog for ubuntu2004-64-puppet8.example.com in environment production in 0.25 seconds
Info: Using environment 'production'
Info: Applying configuration version '1710867017'
Warning: Are we on the master?
Warning: User info is available only from master host
Warning: Are we on the master?
Warning: User creation is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]/ensure: created
�[mNotice: Applied catalog in 2.04 seconds
|
Puppet / Puppet 8 - Ubuntu 20.04:
spec/acceptance/server_spec.rb#L124
mongodb::server class installation using authentication Command "mongosh --quiet --eval "db.serverCmdLineOpts().code"" stdout is expected to match "13"
Failure/Error: its(:stdout) { is_expected.to match '13' }
expected "" to match "13"
|
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.stdout.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.
|