Created
August 8, 2012 10:06
-
-
Save FlorianLudwig/3293965 to your computer and use it in GitHub Desktop.
ajdavis:getmore
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
self.assertEqual( | |
before, after, | |
> "%d cursors left open (should be 0)" % (after - before), | |
E AssertionError: -1 cursors left open (should be 0) | |
test/test_getmore.py:119: AssertionError | |
-------------------------------------------------------------------------------------------------- Captured stdout -------------------------------------------------------- | |
12:01:27 23272 test_shunt.py 67 DEBUG #| ['mongod', '--bind_ip', '127.0.0.1', '--oplogSize', '10', '--dbpath', '/tmp/filekvMDt1', '-v', '--port', '27017'] | |
12:01:27 23272 test_shunt.py 70 DEBUG #| started mongod 23361 | |
12:01:27 23272 test_shunt.py 72 INFO #| waiting for mongod to start (sleeping 3 seconds) | |
Wed Aug 8 12:01:27 isInRangeTest passed | |
Wed Aug 8 12:01:27 BackgroundJob starting: DataFileSync | |
Wed Aug 8 12:01:27 shardKeyTest passed | |
Wed Aug 8 12:01:27 shardObjTest passed | |
Wed Aug 8 12:01:27 versionCmpTest passed | |
Wed Aug 8 12:01:27 versionArrayTest passed | |
Wed Aug 8 12:01:27 [initandlisten] MongoDB starting : pid=23361 port=27017 dbpath=/tmp/filekvMDt1 64-bit host=brain | |
Wed Aug 8 12:01:27 [initandlisten] db version v2.0.1, pdfile version 4.5 | |
Wed Aug 8 12:01:27 [initandlisten] git version: 3a5cf0e2134a830d38d2d1aae7e88cac31bdd684 | |
Wed Aug 8 12:01:27 [initandlisten] build info: Linux bs-linux64.10gen.cc 2.6.21.7-2.ec2.v1.2.fc8xen #1 SMP Fri Nov 20 17:48:28 EST 2009 x86_64 BOOST_LIB_VERSION=1_41 | |
Wed Aug 8 12:01:27 [initandlisten] options: { bind_ip: "127.0.0.1", dbpath: "/tmp/filekvMDt1", oplogSize: 10, port: 27017, verbose: true } | |
Wed Aug 8 12:01:27 [initandlisten] flushing directory /tmp/filekvMDt1 | |
Wed Aug 8 12:01:27 [initandlisten] journal dir=/tmp/filekvMDt1/journal | |
Wed Aug 8 12:01:27 [initandlisten] recover : no journal files present, no recovery needed | |
Wed Aug 8 12:01:27 [initandlisten] flushing directory /tmp/filekvMDt1/journal | |
Wed Aug 8 12:01:27 [initandlisten] flushing directory /tmp/filekvMDt1/journal | |
Wed Aug 8 12:01:27 [initandlisten] flushing directory /tmp/filekvMDt1/journal | |
Wed Aug 8 12:01:27 [initandlisten] Accessing: local for the first time | |
Wed Aug 8 12:01:27 [initandlisten] query local.system.namespaces reslen:20 0ms | |
Wed Aug 8 12:01:27 [initandlisten] enter repairDatabases (to check pdfile version #) | |
Wed Aug 8 12:01:27 [initandlisten] done repairDatabases | |
Wed Aug 8 12:01:27 BackgroundJob starting: ClientCursorMonitor | |
Wed Aug 8 12:01:27 BackgroundJob starting: snapshot | |
Wed Aug 8 12:01:27 BackgroundJob starting: PeriodicTask::Runner | |
Wed Aug 8 12:01:27 [initandlisten] fd limit hard:4096 soft:1024 max conn: 819 | |
Wed Aug 8 12:01:27 [websvr] fd limit hard:4096 soft:1024 max conn: 819 | |
Wed Aug 8 12:01:27 [websvr] admin web console waiting for connections on port 28017 | |
Wed Aug 8 12:01:27 [initandlisten] waiting for connections on port 27017 | |
query, num_to_return -1 | |
send_msg ':\x00\x00\x00y\xaa.\xa0\x00\x00\x00\x00\xd4\x07\x00\x00\x00\x00\x00\x00admin.$cmd\x00\x00\x00\x00\x00\xff\xff\xff\xff\x13\x00\x00\x00\x10ismaster\x00\x01\x00\x00\x00\x00' | |
Wed Aug 8 12:01:30 [initandlisten] connection accepted from 127.0.0.1:57304 #1 | |
Wed Aug 8 12:01:30 [conn1] run command admin.$cmd { ismaster: 1 } | |
Wed Aug 8 12:01:30 [conn1] command admin.$cmd command: { ismaster: 1 } ntoreturn:1 reslen:71 0ms | |
query, num_to_return -1 | |
send_msg '9\x00\x00\x00gt\xc5\xf7\x00\x00\x00\x00\xd4\x07\x00\x00\x00\x00\x00\x00test.$cmd\x00\x00\x00\x00\x00\xff\xff\xff\xff\x13\x00\x00\x00\x02drop\x00\x04\x00\x00\x00foo\x00\x00' | |
Wed Aug 8 12:01:30 [conn1] run command test.$cmd { drop: "foo" } | |
Wed Aug 8 12:01:30 [conn1] Accessing: test for the first time | |
Wed Aug 8 12:01:30 [conn1] CMD: drop test.foo | |
Wed Aug 8 12:01:30 [conn1] command test.$cmd command: { drop: "foo" } ntoreturn:1 reslen:62 0ms | |
query, num_to_return -1 | |
send_msg '>\x00\x00\x00$\xd1\xa8\xe2\x00\x00\x00\x00\xd4\x07\x00\x00\x00\x00\x00\x00admin.$cmd\x00\x00\x00\x00\x00\xff\xff\xff\xff\x17\x00\x00\x00\x10getlasterror\x00\x01\x00\x00\x00\x00' | |
Wed Aug 8 12:01:30 [conn1] New namespace: test.system.indexes | |
Wed Aug 8 12:01:30 [conn1] New namespace: test.system.namespaces | |
Wed Aug 8 12:01:30 [FileAllocator] allocating new datafile /tmp/filekvMDt1/test.ns, filling with zeroes... | |
Wed Aug 8 12:01:30 [FileAllocator] creating directory /tmp/filekvMDt1/_tmp | |
Wed Aug 8 12:01:30 [FileAllocator] flushing directory /tmp/filekvMDt1 | |
Wed Aug 8 12:01:30 [FileAllocator] flushing directory /tmp/filekvMDt1 | |
Wed Aug 8 12:01:30 [FileAllocator] done allocating datafile /tmp/filekvMDt1/test.ns, size: 16MB, took 0 secs | |
Wed Aug 8 12:01:30 [FileAllocator] allocating new datafile /tmp/filekvMDt1/test.0, filling with zeroes... | |
Wed Aug 8 12:01:30 [FileAllocator] flushing directory /tmp/filekvMDt1 | |
Wed Aug 8 12:01:30 [FileAllocator] done allocating datafile /tmp/filekvMDt1/test.0, size: 64MB, took 0.002 secs | |
Wed Aug 8 12:01:30 [FileAllocator] allocating new datafile /tmp/filekvMDt1/test.1, filling with zeroes... | |
Wed Aug 8 12:01:30 [conn1] create collection test.foo {} | |
Wed Aug 8 12:01:30 [conn1] New namespace: test.foo | |
Wed Aug 8 12:01:30 [conn1] adding _id index for collection test.foo | |
Wed Aug 8 12:01:30 [conn1] build index test.foo { _id: 1 } | |
Wed Aug 8 12:01:30 [conn1] external sort root: /tmp/filekvMDt1/_tmp/esort.1344420090.913773858/ | |
Wed Aug 8 12:01:30 [conn1] external sort used : 0 files in 0 secs | |
Wed Aug 8 12:01:30 [conn1] New namespace: test.foo.$_id_ | |
Wed Aug 8 12:01:30 [conn1] done building bottom layer, going to commit | |
Wed Aug 8 12:01:30 [conn1] fastBuildIndex dupsToDrop:0 | |
Wed Aug 8 12:01:30 [conn1] build index done 0 records 0 secs | |
Wed Aug 8 12:01:30 [conn1] info: creating collection test.foo on add index | |
Wed Aug 8 12:01:30 [conn1] build index test.foo { i: 1 } | |
Wed Aug 8 12:01:30 [conn1] external sort root: /tmp/filekvMDt1/_tmp/esort.1344420090.700298505/ | |
Wed Aug 8 12:01:30 [conn1] external sort used : 0 files in 0 secs | |
Wed Aug 8 12:01:30 [conn1] New namespace: test.foo.$i_1 | |
Wed Aug 8 12:01:30 [conn1] done building bottom layer, going to commit | |
Wed Aug 8 12:01:30 [conn1] fastBuildIndex dupsToDrop:0 | |
Wed Aug 8 12:01:30 [conn1] build index done 0 records 0 secs | |
Wed Aug 8 12:01:30 [conn1] insert test.system.indexes 19ms | |
Wed Aug 8 12:01:30 [conn1] run command admin.$cmd { getlasterror: 1 } | |
Wed Aug 8 12:01:30 [conn1] command admin.$cmd command: { getlasterror: 1 } ntoreturn:1 reslen:67 0ms | |
Wed Aug 8 12:01:30 [FileAllocator] flushing directory /tmp/filekvMDt1 | |
Wed Aug 8 12:01:30 [FileAllocator] done allocating datafile /tmp/filekvMDt1/test.1, size: 128MB, took 0.004 secs | |
Wed Aug 8 12:01:30 [initandlisten] connection accepted from 127.0.0.1:57305 #2 | |
query, num_to_return -1 | |
send_msg '>\x00\x00\x00\xa8[R\xa9\x00\x00\x00\x00\xd4\x07\x00\x00\x00\x00\x00\x00admin.$cmd\x00\x00\x00\x00\x00\xff\xff\xff\xff\x17\x00\x00\x00\x10serverStatus\x00\x01\x00\x00\x00\x00' | |
Wed Aug 8 12:01:30 [conn1] allocating new extent for test.foo padding:1 lenWHdr: 45 | |
Wed Aug 8 12:01:30 [conn1] insert test.foo 4ms | |
Wed Aug 8 12:01:30 [conn1] run command admin.$cmd { serverStatus: 1 } | |
Wed Aug 8 12:01:30 [conn2] query test.foo ntoreturn:20 nreturned:20 reslen:260 0ms | |
Wed Aug 8 12:01:30 [conn1] command admin.$cmd command: { serverStatus: 1 } ntoreturn:1 reslen:1317 0ms | |
Wed Aug 8 12:01:30 [conn2] getmore test.foo query: { $query: {}, $orderby: { i: 1 } } cursorid:6028177872104887301 ntoreturn:17 nreturned:17 reslen:224 0ms | |
Wed Aug 8 12:01:30 [conn2] getmore test.foo query: { $query: {}, $orderby: { i: 1 } } cursorid:6028177872104887301 ntoreturn:102 nreturned:102 reslen:1244 0ms | |
Wed Aug 8 12:01:30 [conn2] getmore test.foo query: { $query: {}, $orderby: { i: 1 } } cursorid:6028177872104887301 ntoreturn:1 nreturned:1 reslen:32 0ms | |
Wed Aug 8 12:01:30 [conn2] getmore test.foo query: { $query: {}, $orderby: { i: 1 } } cursorid:6028177872104887301 ntoreturn:2 nreturned:2 reslen:44 0ms | |
Wed Aug 8 12:01:30 [conn2] getmore test.foo query: { $query: {}, $orderby: { i: 1 } } cursorid:6028177872104887301 ntoreturn:4 nreturned:4 reslen:68 0ms | |
Wed Aug 8 12:01:30 [conn2] getmore test.foo query: { $query: {}, $orderby: { i: 1 } } cursorid:6028177872104887301 nreturned:154 reslen:1868 0ms | |
query, num_to_return -1 | |
send_msg '>\x00\x00\x00v\xf6\xc2\xad\x00\x00\x00\x00\xd4\x07\x00\x00\x00\x00\x00\x00admin.$cmd\x00\x00\x00\x00\x00\xff\xff\xff\xff\x17\x00\x00\x00\x10serverStatus\x00\x01\x00\x00\x00\x00' | |
Wed Aug 8 12:01:30 [conn1] run command admin.$cmd { serverStatus: 1 } | |
Wed Aug 8 12:01:30 [conn1] command admin.$cmd command: { serverStatus: 1 } ntoreturn:1 reslen:1317 0ms | |
12:01:30 23272 test_shunt.py 77 DEBUG #| teardown | |
Wed Aug 8 12:01:30 [conn2] end connection 127.0.0.1:57305 | |
12:01:30 23272 test_shunt.py 80 DEBUG #| killing mongod 23361 | |
12:01:30 23272 test_shunt.py 84 DEBUG #| cleaning up /tmp/filekvMDt1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment