[SERVER-14025] race condition in mongos_cache_invalidation.js test Created: 20/May/14  Updated: 27/May/14  Resolved: 21/May/14

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

Type: Bug Priority: Minor - P4
Reporter: Siyuan Zhou Assignee: Spencer Brody (Inactive)
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Operating System: ALL
Participants:

 Description   

24b08ff1d2 Linux 32-bit auth
https://mci.10gen.com/ui/task/mongodb_mongo_master_linux_32_24b08ff1d2b4688255675c91bc44b27fe21a23cb_14_05_20_15_41_07_auth_linux_32#/log/ALL
http://buildlogs.mongodb.org/mci_0.9_linux-32/builds/46656/test/auth_0/mongos_cache_invalidation.js

assert: write failed with error: {
	"writeError" : {
		"code" : 13,
		"errmsg" : "not authorized on test to execute command { update: \"foo\", updates: [ { q: {}, u: { $inc: { a: 1.0 } }, multi: false, upsert: false } ], ordered: true }"
	}
}
Error: write failed with error: {
	"writeError" : {
		"code" : 13,
		"errmsg" : "not authorized on test to execute command { update: \"foo\", updates: [ { q: {}, u: { $inc: { a: 1.0 } }, multi: false, upsert: false } ], ordered: true }"
	}
}
    at Error (<anonymous>)
    at doassert (src/mongo/shell/assert.js:11:14)
    at Function.assert.writeOK (src/mongo/shell/assert.js:378:9)
    at testConcurrentUserModification (/data/mci/shell/src/jstests/auth/mongos_cache_invalidation.js:153:13)
    at /data/mci/shell/src/jstests/auth/mongos_cache_invalidation.js:166:4
2014-05-20T12:58:33.616-0400 Error: write failed with error: {
	"writeError" : {
		"code" : 13,
		"errmsg" : "not authorized on test to execute command { update: \"foo\", updates: [ { q: {}, u: { $inc: { a: 1.0 } }, multi: false, upsert: false } ], ordered: true }"
	}
}
    at Error (<anonymous>)
    at doassert (src/mongo/shell/assert.js:11:14)
    at Function.assert.writeOK (src/mongo/shell/assert.js:378:9)
    at testConcurrentUserModification (/data/mci/shell/src/jstests/auth/mongos_cache_invalidation.js:153:13)
    at /data/mci/shell/src/jstests/auth/mongos_cache_invalidation.js:166:4 at src/mongo/shell/assert.js:13
failed to load: /data/mci/shell/src/jstests/auth/mongos_cache_invalidation.js



 Comments   
Comment by Githook User [ 21/May/14 ]

Author:

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

Message: SERVER-14025 Fix race condition in mongos_cache_invalidation.js
Branch: master
https://github.com/mongodb/mongo/commit/a7526c96e9a584c646294d4414acbad1b452a6f4

Comment by Andreas Nilsson [ 20/May/14 ]

I think this might be related to spencer last change. Reassigning.

Comment by Siyuan Zhou [ 20/May/14 ]

andreas.nilsson@10gen.com - This failure happened only once and it seems not relevant to the commit. I'm not sure who should own this, so feel free to reassign to the right person.

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