[SERVER-11153] SERVER-7379.js broken with auth on Linux 64-bit DEBUG Created: 12/Oct/13  Updated: 11/Jul/16  Resolved: 14/Oct/13

Status: Closed
Project: Core Server
Component/s: Testing Infrastructure
Affects Version/s: None
Fix Version/s: 2.5.3

Type: Bug Priority: Major - P3
Reporter: Matt Kangas Assignee: Shaun Verch
Resolution: Done Votes: 0
Labels: buildbot
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

Same or similar issue as SERVER-11152?

535665987c26 Linux 64-bit DEBUG sharding_auth

Caught exception while authenticating connection: "assert.soon failed: function () ...
WARNING: This form of the addUser shell helper (that takes username, password, and readOnly boolean) is DEPRECATED. Use the form that takes a user object instead
 
2013-10-12T02:57:18.937+0000 command { "enablesharding" : "test" } failed: {
	"ok" : 0,
	"errmsg" : "not authorized on admin to execute command { enablesharding: \"test\" }",
	"code" : 13
} at src/mongo/shell/shardingtest.js:558
failed to load: /srv/10gen/mci-exec/mci/git@github.commongodb/mongo.git/master/jstests/sharding/SERVER-7379.js

Earlier failure at 50682334073f. Last green at 24b6d27d9a00



 Comments   
Comment by Matt Kangas [ 14/Oct/13 ]

Confirmed that build variant is green now

Comment by Shaun Verch [ 12/Oct/13 ]

There was an issue in servers.js that was causing a jstest to fail (reproduced it locally). Basically it was calling "indexOf" on an int. I pushed https://github.com/mongodb/mongo/commit/b2f87f53245b8c15eff65700a929984ebeab75a8 to fix it. I'll revert the part of the change that might be causing the issue (the for loop) and just leave in the part that checks the type (which I'm sure is required to make the other broken test pass).

Comment by Matt Kangas [ 12/Oct/13 ]

Shaun, looks like Spencer indeed fixed it in 7d1097b, and somehow you rebroke it in b2f87f5.

b2f87f53245b Linux 64-bit sharding

Comment by Spencer Brody (Inactive) [ 12/Oct/13 ]

https://github.com/mongodb/mongo/commit/7d1097b8468e1ff753bb6dc3169fd1f09e1d3f61 should fix this

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