[SERVER-11499] dumprestore5.js in tool suite failing across many builders Created: 31/Oct/13  Updated: 11/Jul/16  Resolved: 01/Nov/13

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5.4

Type: Bug Priority: Major - P3
Reporter: Ernie Hershey Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: build-failure
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Operating System: ALL
Participants:

 Description   

Here's the oldest build I think this started happening in:

http://mci.10gen.com/ui/task/mongodb_mongo_master_linux_64_debug_duroff_01afc9b2b1290f16c10c8d591affbdbe157a6d18_13_10_31_13_59_06_tool_linux_64

And the specific failure:
http://buildlogs.mongodb.org/mci_0.9_windows_64/builds/5396/test/tool_0/dumprestore5.js

{ "user" : "user", "roles" : [ "dbOwner" ] }
assert: [2] != [3] are not equal : setup2
Error: Printing Stack Trace
    at printStackTrace (src/mongo/shell/utils.js:38:15)
    at doassert (src/mongo/shell/assert.js:6:5)
    at Function.assert.eq (src/mongo/shell/assert.js:32:5)
    at /srv/10gen/mci-exec/mci/git@github.commongodb/mongo.git/master/jstests/tool/dumprestore5.js:12:8
2013-10-31T14:20:38.433+0000 [2] != [3] are not equal : setup2 at src/mongo/shell/assert.js:7
failed to load: /srv/10gen/mci-exec/mci/git@github.commongodb/mongo.git/master/jstests/tool/dumprestore5.js

Probably as a result of the commit from on that build.
https://github.com/mongodb/mongo/commit/01afc9b2b1290f16c10c8d591affbdbe157a6d18

Here's a windows example:
http://mci.10gen.com/ui/task/mongodb_mongo_master_windows_64_01afc9b2b1290f16c10c8d591affbdbe157a6d18_13_10_31_13_59_06_tool_windows_64

We haven't run this test in osx after that commit, so no examples of success or failure in osx yet.



 Comments   
Comment by auto [ 01/Nov/13 ]

Author:

{u'username': u'stbrody', u'name': u'Spencer T Brody', u'email': u'spencer@10gen.com'}

Message: SERVER-11499 SERVER-11461 Fix dumprestore5.js and expand it to include roles
Branch: master
https://github.com/mongodb/mongo/commit/ce43f6c474d099f85b8dd02848ce4a1faecbc178

Comment by Andy Schwerin [ 01/Nov/13 ]

Still broken. Further review suggests that the test should really be named "dumprestore_auth_data.js", and should be testing that auth data is preserved across a dump and a restore. This means that admin.system.version, admin.system.roles and admin.system.users need to be examined.

Comment by auto [ 31/Oct/13 ]

Author:

{u'username': u'andy10gen', u'name': u'Andy Schwerin', u'email': u'schwerin@10gen.com'}

Message: SERVER-11499 Fix dumprestore5.js by counting indexes only on collection of interest.
Branch: master
https://github.com/mongodb/mongo/commit/94879b490f786395624f221450d1bc2c5553441f

Generated at Thu Feb 08 03:25:56 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.