Skip to content

[PBM-907] slice oplog during logical backup #556

[PBM-907] slice oplog during logical backup

[PBM-907] slice oplog during logical backup #556

Triggered via pull request January 26, 2024 08:02
@defbindefbin
synchronize #902
PBM-907
Status Success
Total duration 43s
Artifacts

trivy.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

66 errors and 1 warning
test_fresh_sharded.test_external: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L125
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b368d5ca5b1767e7f088b4'), 'a': 1}, {'_id': ObjectId('65b368d5ca5b1767e7f088b5'), 'b': 2}, {'_id': ObjectId('65b368d5ca5b1767e7f088b6'), 'c': 3}, {'_id': ObjectId('65b368d5ca5b1767e7f088b7'), 'd': 4}])
test_sharded.test_external_meta: psmdb-testing/pbm-functional/pytest/test_sharded.py#L170
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b369dfca5b1767e7f088be'), 'a': 1}, {'_id': ObjectId('65b369dfca5b1767e7f088bf'), 'b': 2}, {'_id': ObjectId('65b369dfca5b1767e7f088c0'), 'c': 3}, {'_id': ObjectId('65b369dfca5b1767e7f088c1'), 'd': 4}])
test_fresh_sharded.test_external: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L125
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b368e80c3d292870a50b10'), 'a': 1}, {'_id': ObjectId('65b368e80c3d292870a50b11'), 'b': 2}, {'_id': ObjectId('65b368e80c3d292870a50b12'), 'c': 3}, {'_id': ObjectId('65b368e80c3d292870a50b13'), 'd': 4}])
test_sharded.test_external_meta: psmdb-testing/pbm-functional/pytest/test_sharded.py#L170
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36a2e0c3d292870a50b1a'), 'a': 1}, {'_id': ObjectId('65b36a2e0c3d292870a50b1b'), 'b': 2}, {'_id': ObjectId('65b36a2e0c3d292870a50b1c'), 'c': 3}, {'_id': ObjectId('65b36a2e0c3d292870a50b1d'), 'd': 4}])
test_fresh_sharded.test_external: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L125
AssertionError: assert 1 == 4 + where 1 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b368f2fadbde5c49c1f8c0'), 'a': 1}, {'_id': ObjectId('65b368f2fadbde5c49c1f8c1'), 'b': 2}, {'_id': ObjectId('65b368f2fadbde5c49c1f8c2'), 'c': 3}, {'_id': ObjectId('65b368f2fadbde5c49c1f8c3'), 'd': 4}])
test_sharded.test_external_meta: psmdb-testing/pbm-functional/pytest/test_sharded.py#L170
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36a35fadbde5c49c1f8ca'), 'a': 1}, {'_id': ObjectId('65b36a35fadbde5c49c1f8cb'), 'b': 2}, {'_id': ObjectId('65b36a35fadbde5c49c1f8cc'), 'c': 3}, {'_id': ObjectId('65b36a35fadbde5c49c1f8cd'), 'd': 4}])
test_fresh_sharded.test_external: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L125
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b368f9a970ab3a44220459'), 'a': 1}, {'_id': ObjectId('65b368f9a970ab3a4422045a'), 'b': 2}, {'_id': ObjectId('65b368f9a970ab3a4422045b'), 'c': 3}, {'_id': ObjectId('65b368f9a970ab3a4422045c'), 'd': 4}])
test_sharded.test_external_meta: psmdb-testing/pbm-functional/pytest/test_sharded.py#L170
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36a42a970ab3a44220463'), 'a': 1}, {'_id': ObjectId('65b36a42a970ab3a44220464'), 'b': 2}, {'_id': ObjectId('65b36a42a970ab3a44220465'), 'c': 3}, {'_id': ObjectId('65b36a42a970ab3a44220466'), 'd': 4}])
test_PBM-1223.test_logical: psmdb-testing/pbm-functional/pytest/test_PBM-1223.py#L79
AssertionError: Starting restore 2024-01-26T08:07:08.136878737Z from '2024-01-26T08:06:39Z'...Started logical restore. Waiting to finish...Error: operation failed with: waiting for dumpDone: cluster failed: waiting for dumpDone: cluster failed: reply oplog: replay chunk 1706256400.1706256404: apply oplog for chunk: applying a transaction entry: apply txn: { "Timestamp": { "T": 1706256400, "I": 14 }, "Term": 1, "Hash": null, "Version": 2, "Operation": "c", "Namespace": "admin.$cmd", "Object": [ { "Key": "commitTransaction", "Value": 1 }, { "Key": "commitTimestamp", "Value": { "T": 1706256400, "I": 12 } } ], "Query": null, "UI": null, "LSID": "SAAAAAVpZAAQAAAABHUvPXKyL0rviVtSHr/AgdMFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA", "TxnNumber": 1, "PrevOpTime": "HAAAABF0cwAMAAAAEGizZRJ0AAEAAAAAAAAAAA==" }: unknown transaction id SAAAAAVpZAAQAAAABHUvPXKyL0rviVtSHr/AgdMFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA-1
test_fresh_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L77
AssertionError: Error: backup '2024-01-26T08:20:36Z' didn't finish successfully
test_remap_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L76
AssertionError: Error: backup '2024-01-26T08:25:13Z' didn't finish successfully
test_replicaset.test_logical: psmdb-testing/pbm-functional/pytest/test_replicaset.py#L50
AssertionError: Error: backup '2024-01-26T08:26:26Z' didn't finish successfully
test_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L66
AssertionError: Error: backup '2024-01-26T08:27:52Z' didn't finish successfully
test_sharded.test_logical_pitr: psmdb-testing/pbm-functional/pytest/test_sharded.py#L96
AssertionError: Unexpected exit code 1 for CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7febfa505a10>, exit_status=1, command=b'pbm delete-backup -y 2024-01-26T08:32:37Z', _stdout=b'', _stderr=b'Error: backup cannot be deleted: cannot delete the last PITR base snapshot while PITR is enabled\n') assert 1 == 0 + where 1 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7febfa505a10>, exit_status=1, command=b'pbm ...out=b'', _stderr=b'Error: backup cannot be deleted: cannot delete the last PITR base snapshot while PITR is enabled\n').rc
test_PBM-1223.test_logical: psmdb-testing/pbm-functional/pytest/test_PBM-1223.py#L79
AssertionError: Starting restore 2024-01-26T08:07:09.713179678Z from '2024-01-26T08:06:44Z'....Started logical restore. Waiting to finish...Error: operation failed with: waiting for dumpDone: cluster failed: waiting for dumpDone: cluster failed: reply oplog: replay chunk 1706256405.1706256408: apply oplog for chunk: applying a transaction entry: apply txn: { "Timestamp": { "T": 1706256405, "I": 9 }, "Term": 1, "Hash": null, "Version": 2, "Operation": "c", "Namespace": "admin.$cmd", "Object": [ { "Key": "commitTransaction", "Value": 1 }, { "Key": "commitTimestamp", "Value": { "T": 1706256405, "I": 7 } } ], "Query": null, "UI": null, "LSID": "SAAAAAVpZAAQAAAABFIFhjrkh0O5noK/vtfjo6YFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA", "TxnNumber": 1, "PrevOpTime": "HAAAABF0cwAFAAAAFWizZRJ0AAEAAAAAAAAAAA==" }: unknown transaction id SAAAAAVpZAAQAAAABFIFhjrkh0O5noK/vtfjo6YFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA-1
test_azurite.test_logical_pitr: psmdb-testing/pbm-functional/pytest/test_azurite.py#L97
AssertionError: Starting restore 2024-01-26T08:18:52.094300901Z to point-in-time 2024-01-26T08:17:13 from '2024-01-26T08:13:58Z'..Error: failed to ensure chunk {1706257014 4}.{1706257015 30} on the storage, file: pbmPitr/rs2/20240126/20240126081654-4.20240126081655-30.oplog, error: file is empty - Restore on replicaset "rscfg" in state: running - Restore on replicaset "rs2" in state: error: failed to ensure chunk {1706257014 4}.{1706257015 30} on the storage, file: pbmPitr/rs2/20240126/20240126081654-4.20240126081655-30.oplog, error: file is empty - Restore on replicaset "rs1" in state: running
test_fresh_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L77
AssertionError: Error: backup '2024-01-26T08:20:31Z' didn't finish successfully
test_remap_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L76
AssertionError: Error: backup '2024-01-26T08:25:37Z' didn't finish successfully
test_replicaset.test_logical: psmdb-testing/pbm-functional/pytest/test_replicaset.py#L50
AssertionError: Error: backup '2024-01-26T08:26:56Z' didn't finish successfully
test_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L66
AssertionError: Error: backup '2024-01-26T08:28:24Z' didn't finish successfully
test_sharded.test_logical_pitr: psmdb-testing/pbm-functional/pytest/test_sharded.py#L96
AssertionError: Unexpected exit code 1 for CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7fb231ee7350>, exit_status=1, command=b'pbm delete-backup -y 2024-01-26T08:33:10Z', _stdout=b'', _stderr=b'Error: backup cannot be deleted: cannot delete the last PITR base snapshot while PITR is enabled\n') assert 1 == 0 + where 1 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7fb231ee7350>, exit_status=1, command=b'pbm ...out=b'', _stderr=b'Error: backup cannot be deleted: cannot delete the last PITR base snapshot while PITR is enabled\n').rc
test_PBM-1223.test_logical: psmdb-testing/pbm-functional/pytest/test_PBM-1223.py#L79
AssertionError: Starting restore 2024-01-26T08:07:04.218997011Z from '2024-01-26T08:06:43Z'...Started logical restore. Waiting to finish....Error: operation failed with: waiting for dumpDone: cluster failed: waiting for dumpDone: cluster failed: reply oplog: replay chunk 1706256404.1706256408: apply oplog for chunk: applying a transaction entry: apply txn: { "Timestamp": { "T": 1706256404, "I": 13 }, "Term": 1, "Hash": null, "Version": 2, "Operation": "c", "Namespace": "admin.$cmd", "Object": [ { "Key": "commitTransaction", "Value": 1 }, { "Key": "commitTimestamp", "Value": { "T": 1706256404, "I": 10 } } ], "Query": null, "UI": null, "LSID": "SAAAAAVpZAAQAAAABHuCfJlc2UQwlCvLOXTzl+kFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA", "TxnNumber": 1, "PrevOpTime": "HAAAABF0cwAKAAAAFGizZRJ0AAEAAAAAAAAAAA==" }: unknown transaction id SAAAAAVpZAAQAAAABHuCfJlc2UQwlCvLOXTzl+kFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA-1
test_fresh_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L77
AssertionError: Error: backup '2024-01-26T08:20:19Z' didn't finish successfully
test_remap_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L76
AssertionError: Error: backup '2024-01-26T08:24:51Z' didn't finish successfully
test_replicaset.test_logical: psmdb-testing/pbm-functional/pytest/test_replicaset.py#L50
AssertionError: Error: backup '2024-01-26T08:26:09Z' didn't finish successfully
test_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L66
AssertionError: Error: backup '2024-01-26T08:27:38Z' didn't finish successfully
test_PBM-1223.test_logical: psmdb-testing/pbm-functional/pytest/test_PBM-1223.py#L79
AssertionError: Starting restore 2024-01-26T08:11:56.617214162Z from '2024-01-26T08:11:34Z'...Started logical restore. Waiting to finish....Error: operation failed with: waiting for dumpDone: cluster failed: reply oplog: replay chunk 1706256695.1706256699: apply oplog for chunk: applying a transaction entry: apply txn: { "Timestamp": { "T": 1706256695, "I": 9 }, "Term": 1, "Hash": null, "Version": 2, "Operation": "c", "Namespace": "admin.$cmd", "Object": [ { "Key": "commitTransaction", "Value": 1 }, { "Key": "commitTimestamp", "Value": { "T": 1706256695, "I": 7 } } ], "Query": null, "UI": null, "LSID": "SAAAAAVpZAAQAAAABGF1CFXWZ0yorIn+GQ8qq0QFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA", "TxnNumber": 1, "PrevOpTime": "HAAAABF0cwAFAAAAN2mzZRJ0AAEAAAAAAAAAAA==" }: unknown transaction id SAAAAAVpZAAQAAAABGF1CFXWZ0yorIn+GQ8qq0QFdWlkACAAAAAAY5mrDaxi8gv8RmdTsQ+1j7fmkr7JUsabhNmXAheU0fgA-1
test_azurite.test_logical_pitr: psmdb-testing/pbm-functional/pytest/test_azurite.py#L97
AssertionError: Starting restore 2024-01-26T08:23:22.141408241Z to point-in-time 2024-01-26T08:22:05 from '2024-01-26T08:18:54Z'..Error: failed to ensure chunk {1706257305 4}.{1706257306 46} on the storage, file: pbmPitr/rs1/20240126/20240126082145-4.20240126082146-46.oplog, error: file is empty - Restore on replicaset "rscfg" in state: running - Restore on replicaset "rs2" in state: running - Restore on replicaset "rs1" in state: error: failed to ensure chunk {1706257305 4}.{1706257306 46} on the storage, file: pbmPitr/rs1/20240126/20240126082145-4.20240126082146-46.oplog, error: file is empty
test_fresh_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L77
AssertionError: Error: backup '2024-01-26T08:25:04Z' didn't finish successfully
test_remap_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L76
AssertionError: Error: backup '2024-01-26T08:30:09Z' didn't finish successfully
test_replicaset.test_logical: psmdb-testing/pbm-functional/pytest/test_replicaset.py#L50
AssertionError: Error: backup '2024-01-26T08:31:34Z' didn't finish successfully
test_sharded.test_logical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L66
AssertionError: Error: backup '2024-01-26T08:33:07Z' didn't finish successfully
test_sharded.test_logical_pitr: psmdb-testing/pbm-functional/pytest/test_sharded.py#L96
AssertionError: Unexpected exit code 1 for CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f92b909d190>, exit_status=1, command=b'pbm delete-backup -y 2024-01-26T08:37:46Z', _stdout=b'', _stderr=b'Error: backup cannot be deleted: cannot delete the last PITR base snapshot while PITR is enabled\n') assert 1 == 0 + where 1 = CommandResult(backend=<testinfra.backend.docker.DockerBackend object at 0x7f92b909d190>, exit_status=1, command=b'pbm ...out=b'', _stderr=b'Error: backup cannot be deleted: cannot delete the last PITR base snapshot while PITR is enabled\n').rc
test_azurite.test_incremental: psmdb-testing/pbm-functional/pytest/test_azurite.py#L124
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36bcd2e4b70bb670d8abb'), 'a': 1}, {'_id': ObjectId('65b36bcd2e4b70bb670d8abc'), 'b': 2}, {'_id': ObjectId('65b36bcd2e4b70bb670d8abd'), 'c': 3}, {'_id': ObjectId('65b36bcd2e4b70bb670d8abe'), 'd': 4}])
test_fresh_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L107
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36e582e4b70bb670d8ad5'), 'a': 1}, {'_id': ObjectId('65b36e582e4b70bb670d8ad6'), 'b': 2}, {'_id': ObjectId('65b36e582e4b70bb670d8ad7'), 'c': 3}, {'_id': ObjectId('65b36e582e4b70bb670d8ad8'), 'd': 4}])
test_remap_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L107
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b370492e4b70bb670d8ae7'), 'a': 1}, {'_id': ObjectId('65b370492e4b70bb670d8ae8'), 'b': 2}, {'_id': ObjectId('65b370492e4b70bb670d8ae9'), 'c': 3}, {'_id': ObjectId('65b370492e4b70bb670d8aea'), 'd': 4}])
test_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_sharded.py#L152
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b371f72e4b70bb670d8af8'), 'a': 1}, {'_id': ObjectId('65b371f72e4b70bb670d8af9'), 'b': 2}, {'_id': ObjectId('65b371f72e4b70bb670d8afa'), 'c': 3}, {'_id': ObjectId('65b371f72e4b70bb670d8afb'), 'd': 4}])
test_azurite.test_physical: psmdb-testing/pbm-functional/pytest/test_azurite.py#L111
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36bf8d5a7a58717d69447'), 'a': 1}, {'_id': ObjectId('65b36bf8d5a7a58717d69448'), 'b': 2}, {'_id': ObjectId('65b36bf8d5a7a58717d69449'), 'c': 3}, {'_id': ObjectId('65b36bf8d5a7a58717d6944a'), 'd': 4}])
test_fresh_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L92
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36e5fd5a7a58717d69461'), 'a': 1}, {'_id': ObjectId('65b36e5fd5a7a58717d69462'), 'b': 2}, {'_id': ObjectId('65b36e5fd5a7a58717d69463'), 'c': 3}, {'_id': ObjectId('65b36e5fd5a7a58717d69464'), 'd': 4}])
test_remap_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L92
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b37035d5a7a58717d69473'), 'a': 1}, {'_id': ObjectId('65b37035d5a7a58717d69474'), 'b': 2}, {'_id': ObjectId('65b37035d5a7a58717d69475'), 'c': 3}, {'_id': ObjectId('65b37035d5a7a58717d69476'), 'd': 4}])
test_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L114
AssertionError: assert 1 == 4 + where 1 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b371d9d5a7a58717d69484'), 'a': 1}, {'_id': ObjectId('65b371d9d5a7a58717d69485'), 'b': 2}, {'_id': ObjectId('65b371d9d5a7a58717d69486'), 'c': 3}, {'_id': ObjectId('65b371d9d5a7a58717d69487'), 'd': 4}])
test_azurite.test_incremental: psmdb-testing/pbm-functional/pytest/test_azurite.py#L124
AssertionError: assert 1 == 4 + where 1 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36bf22df1c5c27b3d82fb'), 'a': 1}, {'_id': ObjectId('65b36bf22df1c5c27b3d82fc'), 'b': 2}, {'_id': ObjectId('65b36bf22df1c5c27b3d82fd'), 'c': 3}, {'_id': ObjectId('65b36bf22df1c5c27b3d82fe'), 'd': 4}])
test_fresh_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L107
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36ef72df1c5c27b3d8315'), 'a': 1}, {'_id': ObjectId('65b36ef72df1c5c27b3d8316'), 'b': 2}, {'_id': ObjectId('65b36ef72df1c5c27b3d8317'), 'c': 3}, {'_id': ObjectId('65b36ef72df1c5c27b3d8318'), 'd': 4}])
test_remap_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L107
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b371392df1c5c27b3d8327'), 'a': 1}, {'_id': ObjectId('65b371392df1c5c27b3d8328'), 'b': 2}, {'_id': ObjectId('65b371392df1c5c27b3d8329'), 'c': 3}, {'_id': ObjectId('65b371392df1c5c27b3d832a'), 'd': 4}])
test_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_sharded.py#L152
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b3733e2df1c5c27b3d8338'), 'a': 1}, {'_id': ObjectId('65b3733e2df1c5c27b3d8339'), 'b': 2}, {'_id': ObjectId('65b3733e2df1c5c27b3d833a'), 'c': 3}, {'_id': ObjectId('65b3733e2df1c5c27b3d833b'), 'd': 4}])
test_azurite.test_incremental: psmdb-testing/pbm-functional/pytest/test_azurite.py#L124
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36c08bc7ad868879e1b21'), 'a': 1}, {'_id': ObjectId('65b36c08bc7ad868879e1b22'), 'b': 2}, {'_id': ObjectId('65b36c08bc7ad868879e1b23'), 'c': 3}, {'_id': ObjectId('65b36c08bc7ad868879e1b24'), 'd': 4}])
test_fresh_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L107
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36f10bc7ad868879e1b3b'), 'a': 1}, {'_id': ObjectId('65b36f10bc7ad868879e1b3c'), 'b': 2}, {'_id': ObjectId('65b36f10bc7ad868879e1b3d'), 'c': 3}, {'_id': ObjectId('65b36f10bc7ad868879e1b3e'), 'd': 4}])
test_remap_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L107
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b37151bc7ad868879e1b4d'), 'a': 1}, {'_id': ObjectId('65b37151bc7ad868879e1b4e'), 'b': 2}, {'_id': ObjectId('65b37151bc7ad868879e1b4f'), 'c': 3}, {'_id': ObjectId('65b37151bc7ad868879e1b50'), 'd': 4}])
test_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_sharded.py#L152
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b37370bc7ad868879e1b5e'), 'a': 1}, {'_id': ObjectId('65b37370bc7ad868879e1b5f'), 'b': 2}, {'_id': ObjectId('65b37370bc7ad868879e1b60'), 'c': 3}, {'_id': ObjectId('65b37370bc7ad868879e1b61'), 'd': 4}])
test_azurite.test_incremental: psmdb-testing/pbm-functional/pytest/test_azurite.py#L124
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36c0a7e5d6530954c3a36'), 'a': 1}, {'_id': ObjectId('65b36c0a7e5d6530954c3a37'), 'b': 2}, {'_id': ObjectId('65b36c0a7e5d6530954c3a38'), 'c': 3}, {'_id': ObjectId('65b36c0a7e5d6530954c3a39'), 'd': 4}])
test_fresh_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L107
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36f167e5d6530954c3a50'), 'a': 1}, {'_id': ObjectId('65b36f167e5d6530954c3a51'), 'b': 2}, {'_id': ObjectId('65b36f167e5d6530954c3a52'), 'c': 3}, {'_id': ObjectId('65b36f167e5d6530954c3a53'), 'd': 4}])
test_remap_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L107
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b3715d7e5d6530954c3a62'), 'a': 1}, {'_id': ObjectId('65b3715d7e5d6530954c3a63'), 'b': 2}, {'_id': ObjectId('65b3715d7e5d6530954c3a64'), 'c': 3}, {'_id': ObjectId('65b3715d7e5d6530954c3a65'), 'd': 4}])
test_sharded.test_incremental: psmdb-testing/pbm-functional/pytest/test_sharded.py#L152
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b373717e5d6530954c3a73'), 'a': 1}, {'_id': ObjectId('65b373717e5d6530954c3a74'), 'b': 2}, {'_id': ObjectId('65b373717e5d6530954c3a75'), 'c': 3}, {'_id': ObjectId('65b373717e5d6530954c3a76'), 'd': 4}])
test_azurite.test_physical: psmdb-testing/pbm-functional/pytest/test_azurite.py#L111
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36c6cb1fb9a84ece279fd'), 'a': 1}, {'_id': ObjectId('65b36c6cb1fb9a84ece279fe'), 'b': 2}, {'_id': ObjectId('65b36c6cb1fb9a84ece279ff'), 'c': 3}, {'_id': ObjectId('65b36c6cb1fb9a84ece27a00'), 'd': 4}])
test_fresh_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L92
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36f57b1fb9a84ece27a17'), 'a': 1}, {'_id': ObjectId('65b36f57b1fb9a84ece27a18'), 'b': 2}, {'_id': ObjectId('65b36f57b1fb9a84ece27a19'), 'c': 3}, {'_id': ObjectId('65b36f57b1fb9a84ece27a1a'), 'd': 4}])
test_remap_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L92
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b3717bb1fb9a84ece27a29'), 'a': 1}, {'_id': ObjectId('65b3717bb1fb9a84ece27a2a'), 'b': 2}, {'_id': ObjectId('65b3717bb1fb9a84ece27a2b'), 'c': 3}, {'_id': ObjectId('65b3717bb1fb9a84ece27a2c'), 'd': 4}])
test_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L114
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b3737db1fb9a84ece27a3a'), 'a': 1}, {'_id': ObjectId('65b3737db1fb9a84ece27a3b'), 'b': 2}, {'_id': ObjectId('65b3737db1fb9a84ece27a3c'), 'c': 3}, {'_id': ObjectId('65b3737db1fb9a84ece27a3d'), 'd': 4}])
test_azurite.test_physical: psmdb-testing/pbm-functional/pytest/test_azurite.py#L111
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36c7192d7fa4057ee80dd'), 'a': 1}, {'_id': ObjectId('65b36c7192d7fa4057ee80de'), 'b': 2}, {'_id': ObjectId('65b36c7192d7fa4057ee80df'), 'c': 3}, {'_id': ObjectId('65b36c7192d7fa4057ee80e0'), 'd': 4}])
test_fresh_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L92
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36f5892d7fa4057ee80f7'), 'a': 1}, {'_id': ObjectId('65b36f5892d7fa4057ee80f8'), 'b': 2}, {'_id': ObjectId('65b36f5892d7fa4057ee80f9'), 'c': 3}, {'_id': ObjectId('65b36f5892d7fa4057ee80fa'), 'd': 4}])
test_remap_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L92
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b3718092d7fa4057ee8109'), 'a': 1}, {'_id': ObjectId('65b3718092d7fa4057ee810a'), 'b': 2}, {'_id': ObjectId('65b3718092d7fa4057ee810b'), 'c': 3}, {'_id': ObjectId('65b3718092d7fa4057ee810c'), 'd': 4}])
test_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L114
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b3737d92d7fa4057ee811a'), 'a': 1}, {'_id': ObjectId('65b3737d92d7fa4057ee811b'), 'b': 2}, {'_id': ObjectId('65b3737d92d7fa4057ee811c'), 'c': 3}, {'_id': ObjectId('65b3737d92d7fa4057ee811d'), 'd': 4}])
test_azurite.test_physical: psmdb-testing/pbm-functional/pytest/test_azurite.py#L111
AssertionError: assert 2 == 4 + where 2 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36cae503d2c2f48197af3'), 'a': 1}, {'_id': ObjectId('65b36cae503d2c2f48197af4'), 'b': 2}, {'_id': ObjectId('65b36cae503d2c2f48197af5'), 'c': 3}, {'_id': ObjectId('65b36cae503d2c2f48197af6'), 'd': 4}])
test_fresh_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_fresh_sharded.py#L92
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b36fa0503d2c2f48197b0d'), 'a': 1}, {'_id': ObjectId('65b36fa0503d2c2f48197b0e'), 'b': 2}, {'_id': ObjectId('65b36fa0503d2c2f48197b0f'), 'c': 3}, {'_id': ObjectId('65b36fa0503d2c2f48197b10'), 'd': 4}])
test_remap_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_remap_sharded.py#L92
AssertionError: assert 3 == 4 + where 3 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['newmongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b371cd503d2c2f48197b1f'), 'a': 1}, {'_id': ObjectId('65b371cd503d2c2f48197b20'), 'b': 2}, {'_id': ObjectId('65b371cd503d2c2f48197b21'), 'c': 3}, {'_id': ObjectId('65b371cd503d2c2f48197b22'), 'd': 4}])
test_sharded.test_physical: psmdb-testing/pbm-functional/pytest/test_sharded.py#L114
AssertionError: assert 0 == 4 + where 0 = <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')>({}) + where <bound method Collection.count_documents of Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test')> = Collection(Database(MongoClient(host=['mongos:27017'], document_class=dict, tz_aware=False, connect=True), 'test'), 'test').count_documents + and 4 = len([{'_id': ObjectId('65b373d5503d2c2f48197b30'), 'a': 1}, {'_id': ObjectId('65b373d5503d2c2f48197b31'), 'b': 2}, {'_id': ObjectId('65b373d5503d2c2f48197b32'), 'c': 3}, {'_id': ObjectId('65b373d5503d2c2f48197b33'), 'd': 4}])
Trivy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, github/codeql-action/upload-sarif@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.