Fix replset and sharding integration tests #5
ci-multinode.yml
on: pull_request
Setup Test Matrix
10s
Matrix: acceptance
Multinode test suite
0s
Annotations
21 errors
Puppet 8 - CentOS 7 - MongoDB 5.0
The run was canceled by @h-haaks.
|
Puppet 8 - CentOS 7 - MongoDB 5.0
The operation was canceled.
|
Puppet 7 - CentOS 7 - MongoDB 4.4
The run was canceled by @h-haaks.
|
Puppet 7 - CentOS 7 - MongoDB 4.4
The operation was canceled.
|
Puppet 8 - CentOS 7 - MongoDB 6.0
The run was canceled by @h-haaks.
|
Puppet 7 - CentOS 7 - MongoDB 5.0
The run was canceled by @h-haaks.
|
Puppet 8 - CentOS 7 - MongoDB 6.0
The operation was canceled.
|
Puppet 7 - CentOS 7 - MongoDB 5.0
The operation was canceled.
|
Puppet 7 - CentOS 7 - MongoDB 6.0
The run was canceled by @h-haaks.
|
Puppet 7 - CentOS 7 - MongoDB 6.0
The operation was canceled.
|
Puppet 8 - CentOS 7 - MongoDB 7.0
The run was canceled by @h-haaks.
|
Puppet 8 - CentOS 7 - MongoDB 7.0
The operation was canceled.
|
Puppet 7 - CentOS 7 - MongoDB 7.0
The run was canceled by @h-haaks.
|
Puppet 7 - CentOS 7 - MongoDB 7.0
The operation was canceled.
|
Puppet 7 - Debian 12 - MongoDB 7.0
Process completed with exit code 1.
|
Puppet 7 - Ubuntu 22.04 - MongoDB 7.0:
spec/acceptance/replset_spec.rb#L211
mongodb_replset resource with auth => true sets up the replset with puppet
Failure/Error: apply_manifest_on(hosts_as('master'), pp, catch_failures: true)
Beaker::Host::CommandFailure:
Host 'mongodb1' exited with 6 running:
puppet apply --verbose --detailed-exitcodes /tmp/apply_manifest_232327957.pp.NQNQ7D
Last 10 lines of output were:
Info: Using environment 'production'
Info: Applying configuration version '1713309813'
�[mNotice: /Stage[main]/Main/Mongodb_replset[test]/ensure: created
Warning: Host mongodb1:27017 is available, but you are unauthorized because of authentication is enabled: true
Warning: Host mongodb2:27017 is available, but you are unauthorized because of authentication is enabled: true
Error: /Stage[main]/Main/Mongodb_replset[test]: Could not evaluate: rs.initiate() failed for replicaset test
Warning: User info is available only from master host
�[mNotice: /Stage[main]/Main/Mongodb_user[User admin on db admin]: Dependency Mongodb_replset[test] has failures: true
Warning: /Stage[main]/Main/Mongodb_user[User admin on db admin]: Skipping because of failed dependencies
�[mNotice: Applied catalog in 37.77 seconds
|
Puppet 7 - Ubuntu 22.04 - MongoDB 7.0:
spec/acceptance/replset_spec.rb#L239
mongodb_replset resource with auth => true inserts data on the master
Failure/Error: on hosts_as('master'), %{mongosh test --verbose --eval 'load("/root/.mongoshrc.js");db.dummyData.insertOne({"created_by_puppet": 1})'}
Beaker::Host::CommandFailure:
Host 'mongodb1' exited with 1 running:
mongosh test --verbose --eval 'load("/root/.mongoshrc.js");db.dummyData.insertOne({"created_by_puppet": 1})'
Last 10 lines of output were:
Current Mongosh Log ID: 661f089b03109c8bb7c934dc
Connecting to: mongodb://127.0.0.1:27017/test?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.4
Using MongoDB: 7.0.8
Using Mongosh: 2.2.4
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
MongoServerError: not authorized on test to execute command { insert: "dummyData", documents: [ { created_by_puppet: 1, _id: ObjectId('661f089b03109c8bb7c934dd') } ], ordered: true, lsid: { id: UUID("7aabec7c-d4b8-44df-bd39-b58c6e0e40e2") }, txnNumber: 1, $clusterTime: { clusterTime: Timestamp(1713309847, 1), signature: { hash: BinData(0, C72CA885321D0974AB18718E36EFC68DECA5D762), keyId: 7358609674880417797 } }, $readPreference: { mode: "primaryPreferred" }, $db: "test" }
|
Puppet 7 - Ubuntu 22.04 - MongoDB 7.0:
spec/acceptance/replset_spec.rb#L243
mongodb_replset resource with auth => true checks the data on the master
Failure/Error:
on hosts_as('master'), %{mongosh test --verbose --eval 'load("/root/.mongoshrc.js");EJSON.stringify(db.dummyData.findOne())'} do |r|
expect(r.stdout).to match %r{created_by_puppet}
end
Beaker::Host::CommandFailure:
Host 'mongodb1' exited with 1 running:
mongosh test --verbose --eval 'load("/root/.mongoshrc.js");EJSON.stringify(db.dummyData.findOne())'
Last 10 lines of output were:
Current Mongosh Log ID: 661f089bb4fbb43c79c934dc
Connecting to: mongodb://127.0.0.1:27017/test?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.4
Using MongoDB: 7.0.8
Using Mongosh: 2.2.4
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
MongoServerError: not authorized on test to execute command { find: "dummyData", filter: {}, limit: 1, lsid: { id: UUID("48ca8545-86c8-4707-b561-af2083df274f") }, $clusterTime: { clusterTime: Timestamp(1713309847, 1), signature: { hash: BinData(0, C72CA885321D0974AB18718E36EFC68DECA5D762), keyId: 7358609674880417797 } }, $readPreference: { mode: "primaryPreferred" }, $db: "test" }
|
Puppet 7 - Ubuntu 22.04 - MongoDB 7.0:
spec/acceptance/replset_spec.rb#L249
mongodb_replset resource with auth => true checks the data on the slave
Failure/Error:
on hosts_as('slave'), %{mongosh test --verbose --eval 'load("/root/.mongoshrc.js");db.getMongo().setReadPref("primaryPreferred");EJSON.stringify(db.dummyData.findOne())'} do |r|
expect(r.stdout).to match %r{created_by_puppet}
end
Beaker::Host::CommandFailure:
Host 'mongodb2' exited with 1 running:
mongosh test --verbose --eval 'load("/root/.mongoshrc.js");db.getMongo().setReadPref("primaryPreferred");EJSON.stringify(db.dummyData.findOne())'
Last 10 lines of output were:
Current Mongosh Log ID: 661f08a6a8fc62f898c934dc
Connecting to: mongodb://127.0.0.1:27017/test?directConnection=true&serverSelectionTimeoutMS=2000&appName=mongosh+2.2.4
Using MongoDB: 7.0.8
Using Mongosh: 2.2.4
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
MongoServerError: not authorized on test to execute command { find: "dummyData", filter: {}, limit: 1, lsid: { id: UUID("7c30b8c5-523b-4407-a8f3-f2ad9974a47d") }, $clusterTime: { clusterTime: Timestamp(1713309857, 1), signature: { hash: BinData(0, F16A9B56CDF8ED9F07E428EA353D04D62A2FBFC2), keyId: 7358609674880417797 } }, $readPreference: { mode: "primaryPreferred" }, $db: "test" }
|
Puppet 7 - Ubuntu 22.04 - MongoDB 7.0
Process completed with exit code 1.
|
Puppet 8 - CentOS 7 - MongoDB 4.4
Process completed with exit code 1.
|