python buildscripts/smoke.py import [Errno 111] Connection refused clean_dbroot: /data/db/sconsTests/ num procs:176 running /root/deepali/packages/mongo-tools/test/qa-tests/mongod --port 27999 --dbpath /data/db/sconsTests/ --setParameter enableTestCommands=1 --httpinterface 2015-09-28T16:15:59.311+0530 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=6G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] MongoDB starting : pid=30349 port=27999 dbpath=/data/db/sconsTests/ 64-bit host=pts00434-vm7 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] ** NOTE: This is a development version (3.1.8-pre-) of MongoDB. 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] ** Not recommended for production. 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended. 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] db version v3.1.8-pre- 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] git version: fc5f795b9a1ed759139e84599da5b8f51f474b4b 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] allocator: system 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] modules: none 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] build environment: 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] distarch: PowerPC 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] target_arch: PowerPC 2015-09-28T16:15:59.438+0530 I CONTROL [initandlisten] options: { net: { http: { enabled: true }, port: 27999 }, setParameter: { enableTestCommands: "1" }, storage: { dbPath: "/data/db/sconsTests/" } } 2015-09-28T16:15:59.439+0530 I NETWORK [websvr] admin web console waiting for connections on port 28999 2015-09-28T16:15:59.439+0530 I FTDC [initandlisten] Staring full-time diagnostic data capture with directory '/data/db/sconsTests/diagnostic.data' 2015-09-28T16:15:59.480+0530 I NETWORK [initandlisten] waiting for connections on port 27999 ******************************************* Test : collections.js ... Command : /root/deepali/packages/mongo-tools/test/qa-tests/mongo --port 27999 --authenticationMechanism SCRAM-SHA-1 --writeMode commands --nodb /root/deepali/packages/mongo-tools/test/qa-tests/jstests/import/collections.js --eval load("jstests/libs/servers.js");load("jstests/libs/servers_misc.js");TestData = new Object();TestData.storageEngine = "";TestData.wiredTigerEngineConfig = "";TestData.wiredTigerCollectionConfig = "";TestData.wiredTigerIndexConfig = "";TestData.testPath = "/root/deepali/packages/mongo-tools/test/qa-tests/jstests/import/collections.js";TestData.testFile = "collections.js";TestData.testName = "collections";TestData.setParameters = "";TestData.setParametersMongos = "";TestData.noJournal = false;TestData.noJournalPrealloc = false;TestData.auth = false;TestData.keyFile = null;TestData.keyFileData = null;TestData.authMechanism = "SCRAM-SHA-1";TestData.useSSL = false;TestData.useX509 = false;MongoRunner.dataDir = "/data/db";MongoRunner.dataPath = MongoRunner.dataDir + "/"; Date : Mon Sep 28 16:16:00 2015 2015-09-28T16:16:00.210+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:33347 #1 (1 connection now open) 2015-09-28T16:16:00.210+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:33348 #2 (2 connections now open) 2015-09-28T16:16:00.211+0530 I NETWORK [conn1] end connection 127.0.0.1:33347 (1 connection now open) 2015-09-28T16:16:00.211+0530 I NETWORK [conn2] end connection 127.0.0.1:33348 (1 connection now open) MongoDB shell version: 3.1.8-pre- /data/db/ ---- Testing running import with bad command line options ---- 2015-09-28T16:16:00.283+0530 I - [thread1] shell: started program (sh30382): /root/deepali/packages/mongo-tools/test/qa-tests/mongod --port 31000 --dbpath /data/db/jstests_tool_import/ --nohttpinterface --noprealloc --smallfiles --bind_ip 127.0.0.1 --setParameter enableTestCommands=1 2015-09-28T16:16:00.284+0530 W NETWORK [thread1] Failed to connect to 127.0.0.1:31000, reason: errno:111 Connection refused m31000| note: noprealloc may hurt performance in many applications m31000| 2015-09-28T16:16:00.377+0530 I STORAGE [initandlisten] wiredtiger_open config: create,cache_size=6G,session_max=20000,eviction=(threads_max=4),config_base=false,statistics=(fast),log=(enabled=true,archive=true,path=journal,compressor=snappy),file_manager=(close_idle_time=100000),checkpoint=(wait=60,log_size=2GB),statistics_log=(wait=0), 2015-09-28T16:16:00.484+0530 W NETWORK [thread1] Failed to connect to 127.0.0.1:31000, reason: errno:111 Connection refused m31000| 2015-09-28T16:16:00.503+0530 W STORAGE [initandlisten] Detected configuration for non-active storage engine mmapv1 when current storage engine is wiredTiger m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] MongoDB starting : pid=30382 port=31000 dbpath=/data/db/jstests_tool_import/ 64-bit host=pts00434-vm7 m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] ** NOTE: This is a development version (3.1.8-pre-) of MongoDB. m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] ** Not recommended for production. m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] ** WARNING: You are running this process as the root user, which is not recommended. m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] db version v3.1.8-pre- m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] git version: fc5f795b9a1ed759139e84599da5b8f51f474b4b m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013 m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] allocator: system m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] modules: none m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] build environment: m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] distarch: PowerPC m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] target_arch: PowerPC m31000| 2015-09-28T16:16:00.503+0530 I CONTROL [initandlisten] options: { net: { bindIp: "127.0.0.1", http: { enabled: false }, port: 31000 }, setParameter: { enableTestCommands: "1" }, storage: { dbPath: "/data/db/jstests_tool_import/", mmapv1: { preallocDataFiles: false, smallFiles: true } } } m31000| 2015-09-28T16:16:00.504+0530 I FTDC [initandlisten] Staring full-time diagnostic data capture with directory '/data/db/jstests_tool_import/diagnostic.data' m31000| 2015-09-28T16:16:00.533+0530 I NETWORK [initandlisten] waiting for connections on port 31000 m31000| 2015-09-28T16:16:00.685+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:43027 #1 (1 connection now open) 2015-09-28T16:16:00.739+0530 I - [thread1] shell: started program (sh30401): mongoexport --out /data/db/jstests_tool_import_external/a -d jstests_tool_import -c c --host 127.0.0.1:31000 m31000| 2015-09-28T16:16:00.756+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:43028 #2 (2 connections now open) sh30401| 2015-09-28T16:16:00.760+0530 connected to: 127.0.0.1:31000 sh30401| 2015-09-28T16:16:00.760+0530 exported 2 records m31000| 2015-09-28T16:16:00.761+0530 I NETWORK [conn2] end connection 127.0.0.1:43028 (1 connection now open) m31000| 2015-09-28T16:16:00.762+0530 I COMMAND [conn1] CMD: drop jstests_tool_import.c 2015-09-28T16:16:00.764+0530 I - [thread1] shell: started program (sh30411): mongoimport --file foo.blah.json --host 127.0.0.1:31000 sh30411| 2015-09-28T16:16:00.776+0530 no collection specified sh30411| 2015-09-28T16:16:00.776+0530 using filename 'foo.blah' as collection m31000| 2015-09-28T16:16:00.776+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:43029 #3 (2 connections now open) sh30411| 2015-09-28T16:16:00.777+0530 connected to: 127.0.0.1:31000 sh30411| 2015-09-28T16:16:00.803+0530 imported 2 documents m31000| 2015-09-28T16:16:00.804+0530 I NETWORK [conn3] end connection 127.0.0.1:43029 (1 connection now open) m31000| 2015-09-28T16:16:00.805+0530 I COMMAND [conn1] CMD: drop test.foo.blah 2015-09-28T16:16:00.807+0530 I - [thread1] shell: started program (sh30423): mongoimport --file foo.blah.json.backup --host 127.0.0.1:31000 sh30423| 2015-09-28T16:16:00.819+0530 no collection specified sh30423| 2015-09-28T16:16:00.819+0530 using filename 'foo.blah.json' as collection m31000| 2015-09-28T16:16:00.820+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:43030 #4 (2 connections now open) sh30423| 2015-09-28T16:16:00.821+0530 connected to: 127.0.0.1:31000 sh30423| 2015-09-28T16:16:00.845+0530 imported 2 documents m31000| 2015-09-28T16:16:00.846+0530 I NETWORK [conn4] end connection 127.0.0.1:43030 (1 connection now open) m31000| 2015-09-28T16:16:00.847+0530 I COMMAND [conn1] CMD: drop test.foo.blah.json 2015-09-28T16:16:00.849+0530 I - [thread1] shell: started program (sh30433): mongoimport --file foo.blah.json --collection testcoll1 --host 127.0.0.1:31000 m31000| 2015-09-28T16:16:00.864+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:43031 #5 (2 connections now open) sh30433| 2015-09-28T16:16:00.865+0530 connected to: 127.0.0.1:31000 sh30433| 2015-09-28T16:16:00.905+0530 imported 2 documents m31000| 2015-09-28T16:16:00.906+0530 I NETWORK [conn5] end connection 127.0.0.1:43031 (1 connection now open) m31000| 2015-09-28T16:16:00.907+0530 I COMMAND [conn1] CMD: drop test.testcoll1 2015-09-28T16:16:00.909+0530 I - [thread1] shell: started program (sh30446): mongoimport foo.blah.json --host 127.0.0.1:31000 sh30446| 2015-09-28T16:16:00.925+0530 no collection specified sh30446| 2015-09-28T16:16:00.925+0530 using filename 'foo.blah' as collection m31000| 2015-09-28T16:16:00.925+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:43032 #6 (2 connections now open) sh30446| 2015-09-28T16:16:00.926+0530 connected to: 127.0.0.1:31000 sh30446| 2015-09-28T16:16:00.947+0530 imported 2 documents m31000| 2015-09-28T16:16:00.948+0530 I NETWORK [conn6] end connection 127.0.0.1:43032 (1 connection now open) m31000| 2015-09-28T16:16:00.950+0530 I COMMAND [conn1] CMD: drop test.foo.blah 2015-09-28T16:16:00.951+0530 I - [thread1] shell: started program (sh30459): mongoimport foo.blah.json --db testdb2 --host 127.0.0.1:31000 sh30459| 2015-09-28T16:16:00.966+0530 no collection specified sh30459| 2015-09-28T16:16:00.966+0530 using filename 'foo.blah' as collection m31000| 2015-09-28T16:16:00.967+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:43033 #7 (2 connections now open) sh30459| 2015-09-28T16:16:00.968+0530 connected to: 127.0.0.1:31000 sh30459| 2015-09-28T16:16:00.989+0530 imported 2 documents m31000| 2015-09-28T16:16:00.990+0530 I NETWORK [conn7] end connection 127.0.0.1:43033 (1 connection now open) m31000| 2015-09-28T16:16:00.991+0530 I COMMAND [conn1] CMD: drop testdb2.foo.blah 2015-09-28T16:16:00.992+0530 E QUERY [thread1] ReferenceError: stopMongod is not defined : ToolTest.prototype.stop@jstests/libs/servers_misc.js:98:5 @/root/deepali/packages/mongo-tools/test/qa-tests/jstests/import/collections.js:56:5 @/root/deepali/packages/mongo-tools/test/qa-tests/jstests/import/collections.js:1:2 failed to load: /root/deepali/packages/mongo-tools/test/qa-tests/jstests/import/collections.js m31000| 2015-09-28T16:16:00.992+0530 I CONTROL [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends m31000| 2015-09-28T16:16:00.992+0530 I FTDC [signalProcessingThread] Stopping full-time diagnostic data capture m31000| 2015-09-28T16:16:00.992+0530 I CONTROL [signalProcessingThread] now exiting m31000| 2015-09-28T16:16:00.992+0530 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... m31000| 2015-09-28T16:16:00.992+0530 I NETWORK [signalProcessingThread] closing listening socket: 8 m31000| 2015-09-28T16:16:00.992+0530 I NETWORK [signalProcessingThread] closing listening socket: 9 m31000| 2015-09-28T16:16:00.992+0530 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-31000.sock m31000| 2015-09-28T16:16:00.992+0530 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... m31000| 2015-09-28T16:16:00.992+0530 I NETWORK [signalProcessingThread] shutdown: going to close sockets... m31000| 2015-09-28T16:16:00.992+0530 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down m31000| 2015-09-28T16:16:00.992+0530 I NETWORK [conn1] end connection 127.0.0.1:43027 (0 connections now open) m31000| 2015-09-28T16:16:01.391+0530 I STORAGE [signalProcessingThread] shutdown: removing fs lock... m31000| 2015-09-28T16:16:01.391+0530 I CONTROL [signalProcessingThread] dbexit: rc: 0 1793.3359 ms test /root/deepali/packages/mongo-tools/test/qa-tests/jstests/import/collections.js exited with status 253 2015-09-28T16:16:02.003+0530 I CONTROL [signalProcessingThread] got signal 15 (Terminated), will terminate after current cmd ends 2015-09-28T16:16:02.004+0530 I FTDC [signalProcessingThread] Stopping full-time diagnostic data capture 2015-09-28T16:16:02.004+0530 I NETWORK [initandlisten] connection accepted from 127.0.0.1:33358 #3 (1 connection now open) 2015-09-28T16:16:02.004+0530 I CONTROL [signalProcessingThread] now exiting 2015-09-28T16:16:02.004+0530 I NETWORK [signalProcessingThread] shutdown: going to close listening sockets... 2015-09-28T16:16:02.004+0530 I NETWORK [signalProcessingThread] closing listening socket: 5 2015-09-28T16:16:02.004+0530 I NETWORK [signalProcessingThread] closing listening socket: 6 2015-09-28T16:16:02.004+0530 I NETWORK [signalProcessingThread] closing listening socket: 7 2015-09-28T16:16:02.004+0530 I NETWORK [signalProcessingThread] removing socket file: /tmp/mongodb-27999.sock 2015-09-28T16:16:02.004+0530 I NETWORK [signalProcessingThread] shutdown: going to flush diaglog... 2015-09-28T16:16:02.004+0530 I NETWORK [signalProcessingThread] shutdown: going to close sockets... 2015-09-28T16:16:02.004+0530 I STORAGE [signalProcessingThread] WiredTigerKVEngine shutting down 2015-09-28T16:16:02.158+0530 I STORAGE [signalProcessingThread] shutdown: removing fs lock... 2015-09-28T16:16:02.159+0530 I CONTROL [signalProcessingThread] dbexit: rc: 0 [Errno 111] Connection refused 0 tests succeeded 9 tests didn't get run The following tests failed (with exit code): /root/deepali/packages/mongo-tools/test/qa-tests/jstests/import/collections.js 253 Traceback (most recent call last): File "buildscripts/smoke.py", line 1434, in main() File "buildscripts/smoke.py", line 1431, in main report() File "buildscripts/smoke.py", line 901, in report raise Exception("Test failures") Exception: Test failures