[SERVER-14838] auth1.js in replicasets failing on all windows variants Created: 08/Aug/14  Updated: 18/Aug/14  Resolved: 08/Aug/14

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

Type: Bug Priority: Blocker - P1
Reporter: Michael O'Brien Assignee: Mark Benvenuto
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Duplicate
is duplicated by SERVER-14828 running mongod with a missing dbpath ... Closed
Operating System: ALL
Participants:

 Description   

https://mci.10gen.com/ui/task_history/mongodb-mongo-master/replicasets?revision=488e855b797f1a61d6a5e08f812f85fcb2f03a51#auth1.js=fail

seems to implicate https://github.com/mongodb/mongo/commit/488e855b797f1a61d6a5e08f812f85fcb2f03a51

	
 m31000| 2014-08-08T02:33:05.911+0000 I          [initandlisten] MongoDB starting : pid=2020 port=31000 dbpath=C:\data\db/rs_auth1 64-bit host=WIN-LPG54MQP00S
 m31000| 2014-08-08T02:33:05.911+0000 I          [initandlisten] 
 m31000| 2014-08-08T02:33:05.911+0000 I          [initandlisten] ** NOTE: This is a development version (2.7.5-pre-) of MongoDB.
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] **       Not recommended for production.
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] 
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] targetMinOS: Windows 7/Windows Server 2008 R2
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] db version v2.7.5-pre-
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] git version: 1cef2222eab85ec6b2c494116f4a576736516f7f
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] OpenSSL version: OpenSSL 1.0.1h-fips 5 Jun 2014
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] build info: windows sys.getwindowsversion(major=6, minor=1, build=7601, platform=2, service_pack='Service Pack 1') BOOST_LIB_VERSION=1_49
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] allocator: system
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] options: { net: { port: 31000 }, security: { keyFile: "jstests/libs/key1" }, storage: { dbPath: "C:\data\db/rs_auth1" } }
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] exception in initAndListen: 10296 
 m31000| *********************************************************************
 m31000|  ERROR: dbpath (C:\data\db/rs_auth1) does not exist.
 m31000|  Create this directory or give existing directory in --dbpath.
 m31000|  See http://dochub.mongodb.org/core/startingandstoppingmongo
 m31000| *********************************************************************
 m31000| , terminating
 m31000| 2014-08-08T02:33:05.912+0000 I          [initandlisten] Invariant failure storageEngine src\mongo\db\operation_context_impl.cpp 44
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    ...\src\mongo\util\stacktrace_win.cpp(173)       mongo::printStackTrace+0x43
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    ...\src\mongo\util\log.cpp(134)                  mongo::logContext+0x97
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    ...\src\mongo\util\assert_util.cpp(140)          mongo::invariantFailed+0xf0
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    ...\src\mongo\db\operation_context_impl.cpp(44)  mongo::OperationContextImpl::OperationContextImpl+0x73
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    ...\src\mongo\db\instance.cpp(1015)              mongo::exitCleanly+0x62
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    ...\src\mongo\db\db.cpp(944)                     mongoDbMain+0x24b
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    ...\src\mongo\db\db.cpp(730)                     wmain+0x35
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] mongod.exe    f:\dd\vctools\crt\crtw32\dllstuff\crtexe.c(623)  __tmainCRTStartup+0x10f
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] kernel32.dll                                                   BaseThreadInitThunk+0xd
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] 
 m31000| 2014-08-08T02:33:06.404+0000 I          [initandlisten] 
 m31000| 



 Comments   
Comment by Githook User [ 08/Aug/14 ]

Author:

{u'username': u'markbenvenuto', u'name': u'Mark Benvenuto', u'email': u'mark.benvenuto@mongodb.com'}

Message: SERVER-14838: Fix shutdown failures

1. On Solaris, we race between the main thread, and signal thread. The
main thread wins, and returns EXIT_NET_ERROR. Previously, we use to work around
this by just sleeping on the main thread.

2. If we exit early due to missing db path, OperationContext asserts
because the storage engine has not been started yet.
Branch: master
https://github.com/mongodb/mongo/commit/4df93459d69b1536340047f9693f66763e001343

Comment by Ian Whalen (Inactive) [ 08/Aug/14 ]

setting to Blocker as per build baron guidelines since this is a 100% consistent failure

Comment by Eric Milkie [ 08/Aug/14 ]

Could this be related to the switch to the new Windows builders? Was that directory simply leftover from prior runs, on the old builders?

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