MongoDB shell version: 3.1.1-pre- /data/db/ 2015-03-17T16:46:29.944-0400 I - shell: started program (sh11950): /data/mci/shell/src/mongod --port 30201 --dbpath /data/db/indexbg2 --smallfiles --nojournal --setParameter enableTestCommands=1 --storageEngine wiredTiger 2015-03-17T16:46:29.945-0400 W NETWORK Failed to connect to 127.0.0.1:30201, reason: errno:111 Connection refused m30201| 2015-03-17T16:46:29.962-0400 W STORAGE [initandlisten] Detected configuration for non-active storage engine mmapv1 when current storage engine is wiredTiger m30201| 2015-03-17T16:46:29.963-0400 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=7G,session_max=20000,eviction=(threads_max=4),statistics=(fast),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] MongoDB starting : pid=11950 port=30201 dbpath=/data/db/indexbg2 64-bit host=ip-10-180-224-151 m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] ** NOTE: This is a development version (3.1.1-pre-) of MongoDB. m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] ** Not recommended for production. m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/enabled is 'always'. m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] ** We suggest setting it to 'never' m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] ** WARNING: /sys/kernel/mm/transparent_hugepage/defrag is 'always'. m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] ** We suggest setting it to 'never' m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] ** WARNING: soft rlimits too low. rlimits set to 1024 processes, 64000 files. Number of processes should be at least 32000 : 0.5 times number of files. m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] db version v3.1.1-pre- m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] git version: bf52637fde15f15dac94b44b7adf3a03fa8b05fe m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] build info: Linux ip-10-51-177-115 3.4.43-43.43.amzn1.x86_64 #1 SMP Mon May 6 18:04:41 UTC 2013 x86_64 BOOST_LIB_VERSION=1_56 m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] allocator: tcmalloc m30201| 2015-03-17T16:46:30.014-0400 I CONTROL [initandlisten] options: { net: { port: 30201 }, setParameter: { enableTestCommands: "1" }, storage: { dbPath: "/data/db/indexbg2", engine: "wiredTiger", journal: { enabled: false }, mmapv1: { smallFiles: true } } } m30201| 2015-03-17T16:46:30.067-0400 I NETWORK [initandlisten] waiting for connections on port 30201 m30201| 2015-03-17T16:46:30.146-0400 I NETWORK [initandlisten] connection accepted from 127.0.0.1:56142 #1 (1 connection now open) size: 10000 m30201| 2015-03-17T16:46:30.147-0400 I COMMAND [conn1] CMD: drop test.jstests_index12 m30201| 2015-03-17T16:46:33.765-0400 I COMMAND [conn1] CMD: drop test.jstests_index12_parallelStatus 2015-03-17T16:46:33.767-0400 I - shell: started program (sh11965): /data/mci/shell/src/mongo --eval db.jstests_index12.ensureIndex( {i:1}, {background:true, unique:true} ); db.jstests_index12_parallelStatus.save( {done:1} ); 127.0.0.1:30201 sh11965| MongoDB shell version: 3.1.1-pre- sh11965| connecting to: 127.0.0.1:30201/test m30201| 2015-03-17T16:46:33.807-0400 I NETWORK [initandlisten] connection accepted from 127.0.0.1:56143 #2 (2 connections now open) m30201| 2015-03-17T16:46:33.824-0400 I INDEX [conn2] build index on: test.jstests_index12 properties: { v: 1, unique: true, key: { i: 1.0 }, name: "i_1", ns: "test.jstests_index12", background: true } m30201| 2015-03-17T16:46:33.825-0400 I - [conn2] Invariant failure e.getCode() != ErrorCodes::WriteConflict src/mongo/db/commands/create_indexes.cpp 227 assert: no write error: { "nInserted" : 1 } Error: no write error: { "nInserted" : 1 } at Error () at doassert (src/mongo/shell/assert.js:11:14) at Function.assert.writeError (src/mongo/shell/assert.js:421:9) at doTest (/data/mci/shell/src/jstests/noPassthrough/indexbg2.js:49:20) at /data/mci/shell/src/jstests/noPassthrough/indexbg2.js:78:1 m30201| 2015-03-17T16:46:33.830-0400 I CONTROL [conn2] m30201| 0xf50629 0xef5cf1 0xeda452 0x96c8bb 0x9e9bc4 0x9eaad2 0x9eb7be 0xbcf7e0 0xabc143 0x83e4ff 0xf093bb 0x7f4ef7ea2c6b 0x7f4ef7bf15ed m30201| ----- BEGIN BACKTRACE ----- m30201| {"backtrace":[{"b":"400000","o":"B50629"},{"b":"400000","o":"AF5CF1"},{"b":"400000","o":"ADA452"},{"b":"400000","o":"56C8BB"},{"b":"400000","o":"5E9BC4"},{"b":"400000","o":"5EAAD2"},{"b":"400000","o":"5EB7BE"},{"b":"400000","o":"7CF7E0"},{"b":"400000","o":"6BC143"},{"b":"400000","o":"43E4FF"},{"b":"400000","o":"B093BB"},{"b":"7F4EF7E9B000","o":"7C6B"},{"b":"7F4EF7B0F000","o":"E25ED"}],"processInfo":{ "mongodbVersion" : "3.1.1-pre-", "gitVersion" : "bf52637fde15f15dac94b44b7adf3a03fa8b05fe", "uname" : { "sysname" : "Linux", "release" : "3.4.43-43.43.amzn1.x86_64", "version" : "#1 SMP Mon May 6 18:04:41 UTC 2013", "machine" : "x86_64" }, "somap" : [ { "elfType" : 2, "b" : "400000", "buildId" : "5350EA7DBD38F9D2EF3B71FF3B5AFEF0751A6E6B" }, { "b" : "7FFFFAE88000", "elfType" : 3, "buildId" : "29B1BE128D1CD74EF11FFB8546C70D9BD5691168" }, { "b" : "7F4EFA03A000", "path" : "/usr/lib64/libnetsnmpagent.so.20", "elfType" : 3, "buildId" : "8581C32693D7085F0DF0E29F0FE1212FD4DC7D09" }, { "b" : "7F4EF9E13000", "path" : "/usr/lib64/libnetsnmphelpers.so.20", "elfType" : 3, "buildId" : "6333EB558B6CC335B4FC573D65A6415FC8E5DAB0" }, { "b" : "7F4EF99C8000", "path" : "/usr/lib64/libnetsnmpmibs.so.20", "elfType" : 3, "buildId" : "715304A972CC3EC20479525B85382D15619CF037" }, { "b" : "7F4EF96ED000", "path" : "/usr/lib64/libnetsnmp.so.20", "elfType" : 3, "buildId" : "77EDD64D38A5C5E2E24A20A29469602764868F63" }, { "b" : "7F4EF94D2000", "path" : "/usr/lib64/libsasl2.so.2", "elfType" : 3, "buildId" : "8ACB02D4787A55B97CBF8FE1FCF5C681C400EDDF" }, { "b" : "7F4EF928F000", "path" : "/lib64/libgssapi_krb5.so.2", "elfType" : 3, "buildId" : "9DF61878D8918F25CC74AD01F417FDB051DFE3DA" }, { "b" : "7F4EF9029000", "path" : "/usr/lib64/libssl.so.10", "elfType" : 3, "buildId" : "AB341F36095E832872A333DD8418D88879D3CE3A" }, { "b" : "7F4EF8C65000", "path" : "/lib64/libcrypto.so.10", "elfType" : 3, "buildId" : "2E24651788AF4247D2358B7AE73FD0E42EF4123C" }, { "b" : "7F4EF8A5D000", "path" : "/lib64/librt.so.1", "elfType" : 3, "buildId" : "71D3B1475C8376D90DB02C1BC9D44C662B588B44" }, { "b" : "7F4EF8859000", "path" : "/lib64/libdl.so.2", "elfType" : 3, "buildId" : "1F0D8E5A3A05C51AB017DD3B25DCA5A84691EA29" }, { "b" : "7F4EF8550000", "path" : "/usr/lib64/libstdc++.so.6", "elfType" : 3, "buildId" : "66F1CF311C61879639BD3DC0034DEE0D6D042261" }, { "b" : "7F4EF82CD000", "path" : "/lib64/libm.so.6", "elfType" : 3, "buildId" : "A7844DD3B5847BF8480B549FD96EF34C7AA10CB6" }, { "b" : "7F4EF80B8000", "path" : "/lib64/libgcc_s.so.1", "elfType" : 3, "buildId" : "E77BA674F63D5C56373C03316B5E74C5C781A0BC" }, { "b" : "7F4EF7E9B000", "path" : "/lib64/libpthread.so.0", "elfType" : 3, "buildId" : "CD5AAC30FD9161B40651639583A8600AFEDC9C4C" }, { "b" : "7F4EF7B0F000", "path" : "/lib64/libc.so.6", "elfType" : 3, "buildId" : "93179477188BD673E8EECF305C7D14B3824DBDE5" }, { "b" : "7F4EFA285000", "path" : "/lib64/ld-linux-x86-64.so.2", "elfType" : 3, "buildId" : "1690D895D998DA3903D3327815C41143B8131168" }, { "b" : "7F4EF7904000", "path" : "/lib64/libwrap.so.0", "elfType" : 3, "buildId" : "A0F2D96DCD3DCEB20FE6ED694942E6A503E28240" }, { "b" : "7F4EF759C000", "path" : "/usr/lib64/perl5/CORE/libperl.so", "elfType" : 3, "buildId" : "A1037AD4DA822A89753DD84EBEFE99C6EC615479" }, { "b" : "7F4EF7381000", "path" : "/lib64/libresolv.so.2", "elfType" : 3, "buildId" : "0B8C3A6D8A1FF1E638C0EC551635FD4F5393B258" }, { "b" : "7F4EF7168000", "path" : "/lib64/libnsl.so.1", "elfType" : 3, "buildId" : "9CBFBC004AAF96CAD4ECF7F4A4C94449B45C42D1" }, { "b" : "7F4EF6F31000", "path" : "/lib64/libcrypt.so.1", "elfType" : 3, "buildId" : "736F11A062F70262F732177FC583E38B4BB56275" }, { "b" : "7F4EF6D2E000", "path" : "/lib64/libutil.so.1", "elfType" : 3, "buildId" : "573F5A31FA1A83350DACE16409F1FA5A375737CB" }, { "b" : "7F4EF6AC4000", "path" : "/usr/lib64/librpm.so.1", "elfType" : 3, "buildId" : "8F7971B3892564E59F4DE9A8AD2C74C250329575" }, { "b" : "7F4EF6896000", "path" : "/usr/lib64/librpmio.so.1", "elfType" : 3, "buildId" : "E76AFC49B7410666B16F31D8618DC7454C860F33" }, { "b" : "7F4EF668D000", "path" : "/lib64/libpopt.so.0", "elfType" : 3, "buildId" : "5A1868C957FB184A3132E57A4938F13505F5A2AB" }, { "b" : "7F4EF6476000", "path" : "/lib64/libz.so.1", "elfType" : 3, "buildId" : "E492542502DF88A2F752AD77D1905D13FF1AC6FF" }, { "b" : "7F4EF6191000", "path" : "/lib64/libkrb5.so.3", "elfType" : 3, "buildId" : "6F1DB0F811D1B210520443442D4437BC43BF9A80" }, { "b" : "7F4EF5F66000", "path" : "/lib64/libk5crypto.so.3", "elfType" : 3, "buildId" : "F7DF34078FD7BFD684FE46D5F677EEDA1D9B9DC9" }, { "b" : "7F4EF5D63000", "path" : "/lib64/libcom_err.so.2", "elfType" : 3, "buildId" : "1A6E97644CC9149C2E1871C6AE1DB51975E78A41" }, { "b" : "7F4EF5B58000", "path" : "/lib64/libkrb5support.so.0", "elfType" : 3, "buildId" : "381960ACAB9C39461D58BDE7B272C4F61BB3582F" }, { "b" : "7F4EF5955000", "path" : "/lib64/libkeyutils.so.1", "elfType" : 3, "buildId" : "BF48CD5658DE95CE058C4B828E81C97E2AE19643" }, { "b" : "7F4EF56E9000", "path" : "/lib64/libfreebl3.so", "elfType" : 3, "buildId" : "A2AD6FA00A69F2017006183903930AF0E9AC57CF" }, { "b" : "7F4EF53AF000", "path" : "/usr/lib64/libnss3.so", "elfType" : 3, "buildId" : "496E2141A2FC196A999A830ADBF3C6148CE96A75" }, { "b" : "7F4EF519E000", "path" : "/lib64/libbz2.so.1", "elfType" : 3, "buildId" : "00F7A473A16088EDDD711B6CC88FABEB3671CA3C" }, { "b" : "7F4EF4F89000", "path" : "/usr/lib64/libelf.so.1", "elfType" : 3, "buildId" : "71466D117A21C4181BDF91D77708942A4B717B66" }, { "b" : "7F4EF4D68000", "path" : "/usr/lib64/liblzma.so.0", "elfType" : 3, "buildId" : "BE0D9F224CB5A46B97C1D48487B8D17303003723" }, { "b" : "7F4EF4B3B000", "path" : "/usr/lib64/liblua-5.1.so", "elfType" : 3, "buildId" : "70D4679B06FD3F120F6039C90A41BBBAAD603C48" }, { "b" : "7F4EF491A000", "path" : "/usr/lib64/libselinux.so.1", "elfType" : 3, "buildId" : "803D7EF21A989677D056E52BAEB9AB5B154FB9D9" }, { "b" : "7F4EF4716000", "path" : "/lib64/libcap.so.2", "elfType" : 3, "buildId" : "AA484103AE3F07D09221E21ABB66C61A340C6F0E" }, { "b" : "7F4EF450D000", "path" : "/lib64/libacl.so.1", "elfType" : 3, "buildId" : "1732E172AD8D97133DDFAA47B4C93B0ADB5D16F0" }, { "b" : "7F4EF419E000", "path" : "/lib64/libdb-4.7.so", "elfType" : 3, "buildId" : "B29CE27B138154383CAE24A8E662A0D93EBC6A13" }, { "b" : "7F4EF3F73000", "path" : "/usr/lib64/libnssutil3.so", "elfType" : 3, "buildId" : "FEC20215B7DE5E3DBF476A0A051B797C646FD6E3" }, { "b" : "7F4EF3D6E000", "path" : "/lib64/libplc4.so", "elfType" : 3, "buildId" : "489D68601B36785953564B882F9F46ADF8227BE3" }, { "b" : "7F4EF3B6A000", "path" : "/lib64/libplds4.so", "elfType" : 3, "buildId" : "17EE718BABE5C4C57A2BE8B1B0232E3BE0B46232" }, { "b" : "7F4EF392D000", "path" : "/lib64/libnspr4.so", "elfType" : 3, "buildId" : "8687545074B4A23688BE8E4912FC99E882A4B44E" }, { "b" : "7F4EF3728000", "path" : "/lib64/libattr.so.1", "elfType" : 3, "buildId" : "694B4624CB28C59CF4BD33FC4B189961190575DB" } ] }} m30201| mongod(_ZN5mongo15printStackTraceERSo+0x29) [0xf50629] m30201| mongod(_ZN5mongo10logContextEPKc+0xE1) [0xef5cf1] m30201| mongod(_ZN5mongo15invariantFailedEPKcS1_j+0xB2) [0xeda452] m30201| mongod(_ZN5mongo14CmdCreateIndex3runEPNS_16OperationContextERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x17EB) [0x96c8bb] m30201| mongod(_ZN5mongo12_execCommandEPNS_16OperationContextEPNS_7CommandERKSsRNS_7BSONObjEiRSsRNS_14BSONObjBuilderEb+0x34) [0x9e9bc4] m30201| mongod(_ZN5mongo7Command11execCommandEPNS_16OperationContextEPS0_iPKcRNS_7BSONObjERNS_14BSONObjBuilderEb+0xBC2) [0x9eaad2] m30201| mongod(_ZN5mongo12_runCommandsEPNS_16OperationContextEPKcRNS_7BSONObjERNS_11_BufBuilderINS_16TrivialAllocatorEEERNS_14BSONObjBuilderEbi+0x27E) [0x9eb7be] m30201| mongod(_ZN5mongo8runQueryEPNS_16OperationContextERNS_7MessageERNS_12QueryMessageERKNS_15NamespaceStringERNS_5CurOpES3_+0x1410) [0xbcf7e0] m30201| mongod(_ZN5mongo16assembleResponseEPNS_16OperationContextERNS_7MessageERNS_10DbResponseERKNS_11HostAndPortE+0xAF3) [0xabc143] m30201| mongod(_ZN5mongo16MyMessageHandler7processERNS_7MessageEPNS_21AbstractMessagingPortEPNS_9LastErrorE+0xDF) [0x83e4ff] m30201| mongod(_ZN5mongo17PortMessageServer17handleIncomingMsgEPv+0x34B) [0xf093bb] m30201| libpthread.so.0(+0x7C6B) [0x7f4ef7ea2c6b] m30201| libc.so.6(clone+0x6D) [0x7f4ef7bf15ed] m30201| ----- END BACKTRACE ----- m30201| 2015-03-17T16:46:33.830-0400 I - [conn2] m30201| m30201| ***aborting after invariant() failure m30201| m30201| sh11965| 2015-03-17T16:46:33.832-0400 I NETWORK DBClientCursor::init call() failed sh11965| 2015-03-17T16:46:33.835-0400 E QUERY Error: error doing query: failed sh11965| at DBQuery._exec (src/mongo/shell/query.js:83:36) sh11965| at DBQuery.hasNext (src/mongo/shell/query.js:229:10) sh11965| at DBCollection.findOne (src/mongo/shell/collection.js:187:19) sh11965| at DB.runCommand (src/mongo/shell/db.js:58:41) sh11965| at DBCollection.createIndex (src/mongo/shell/collection.js:558:25) sh11965| at DBCollection.ensureIndex (src/mongo/shell/collection.js:580:23) sh11965| at (shell eval):1:20 at src/mongo/shell/query.js:83 2015-03-17T16:46:34.828-0400 I NETWORK DBClientCursor::init call() failed 2015-03-17T16:46:34.829-0400 E QUERY Error: error doing query: failed at DBQuery._exec (src/mongo/shell/query.js:83:36) at DBQuery.hasNext (src/mongo/shell/query.js:229:10) at DBCollection.findOne (src/mongo/shell/collection.js:187:19) at doneParallel (/data/mci/shell/src/jstests/noPassthrough/indexbg2.js:23:25) at doTest (/data/mci/shell/src/jstests/noPassthrough/indexbg2.js:55:18) at /data/mci/shell/src/jstests/noPassthrough/indexbg2.js:78:1 at src/mongo/shell/query.js:83 failed to load: /data/mci/shell/src/jstests/noPassthrough/indexbg2.js