[SERVER-7632] jstests/drop2.js and jstests/killop.js failing (auth issue) Created: 12/Nov/12 Updated: 11/Jul/16 Resolved: 16/Nov/12 |
|
| Status: | Closed |
| Project: | Core Server |
| Component/s: | JavaScript, Testing Infrastructure |
| Affects Version/s: | None |
| Fix Version/s: | 2.3.1 |
| Type: | Bug | Priority: | Major - P3 |
| Reporter: | Spencer Brody (Inactive) | Assignee: | Spencer Brody (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | buildbot | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
||||||||||||||||||||
| Issue Links: |
|
||||||||||||||||||||
| Backwards Compatibility: | Fully Compatible | ||||||||||||||||||||
| Operating System: | ALL | ||||||||||||||||||||
| Participants: | |||||||||||||||||||||
| Description |
|
jstests/drop2.js fails consistently on my local machine when built with the now-default v8. My machine is Ubuntu Linux, doing a 64 bit debug build. Weirdly, this test doesn't seem to be failing on buildbot, though it fails for me every time. If I compile mongod with --usesm, the test passes. I have attached the output of running the test twice, once with mongod compiled using default flags, and once with mongod compiled using --usesm. |
| Comments |
| Comment by auto [ 16/Nov/12 ] |
|
Author: {u'date': u'2012-11-16T22:54:23Z', u'email': u'spencer@10gen.com', u'name': u'Spencer T Brody'}Message: Don't query admin.system.users when initializing AuthorizationManager if we aren't running with auth |
| Comment by Eric Milkie [ 16/Nov/12 ] |
|
Thanks for that investigation. Spencer's going to fix the new auth code to respect the --noauth command line parameter. |
| Comment by Aaron Staple [ 16/Nov/12 ] |
|
I think this is why the drop2.js test is failing, sequence of events: 1) The test issues a count, which acquires a read lock and does a loop forever inside javascript. The read lock is not released. Not really sure who should work to fix this. Reassigning back to you for now. |
| Comment by Eric Milkie [ 16/Nov/12 ] |
|
Hey Aaron. |
| Comment by Eric Milkie [ 16/Nov/12 ] |
|
Hi Aaron, I'm bumping this to you. |