The error:
[2015/04/27 17:42:17.378] timed out [2015/04/27 17:42:17.378] Exception AttributeError: "'Cursor' object has no attribute '_Cursor__id'" in <bound method Cursor.__del__ of <pymongo.cursor.Cursor object at 0x00000000021695C0>> ignored [2015/04/27 17:42:17.380] Cannot catch signals on Windows [2015/04/27 17:42:17.380] Creating dir: /data/db/sconsTests/ [2015/04/27 17:42:17.380] running ./mongod.exe --port 27999 --dbpath /data/db/sconsTests/ --setParameter enableTestCommands=1 --httpinterface --replSet foo --oplogSize 511 [2015/04/27 17:42:17.380] Creating dir: /data/db/sconsTestsSlave/ [2015/04/27 17:42:17.380] running ./mongod.exe --port 28000 --dbpath /data/db/sconsTestsSlave/ --setParameter enableTestCommands=1 --httpinterface --replSet foo --oplogSize 511 [2015/04/27 17:42:23.385] 0 tests succeeded [2015/04/27 17:42:23.385] 782 tests didn't get run [2015/04/27 17:42:23.385] replication ok for 0 collections [2015/04/27 17:42:23.956] timed out [2015/04/27 17:42:23.956] Traceback (most recent call last): [2015/04/27 17:42:23.956] File "buildscripts/smoke.py", line 1448, in <module> [2015/04/27 17:42:23.956] main() [2015/04/27 17:42:23.956] File "buildscripts/smoke.py", line 1432, in main [2015/04/27 17:42:23.956] run_tests(tests) [2015/04/27 17:42:23.956] File "buildscripts/smoke.py", line 726, in run_tests [2015/04/27 17:42:23.956] slave.start() [2015/04/27 17:42:23.956] File "buildscripts/smoke.py", line 275, in start [2015/04/27 17:42:23.956] for source in local.sources.find(fields=["syncedTo"]): [2015/04/27 17:42:23.956] File "C:\Python27\lib\site-packages\pymongo\collection.py", line 929, in find [2015/04/27 17:42:23.956] return Cursor(self, *args, **kwargs) [2015/04/27 17:42:23.956] TypeError: __init__() got an unexpected keyword argument 'fields' [2015/04/27 17:42:23.965] [shell.exec] Script finished with error: exit status 1 [2015/04/27 17:42:23.965] Finished shell.exec in 15.921s [2015/04/27 17:42:23.965] Command failed: exit status 1 [2015/04/27 17:42:23.965] Command failed: exit status 1 [2015/04/27 17:42:23.965] Task completed - FAILURE.
And I verified by hand the smoke.py command from the failed test with the same binaries and artifacts from MCI on a spawnhost with the default pymongo fails in the same way, after running easy_install --upgrade pymongo, it fails in the same way, and after running easy_install "pymongo<3.0" it runs to completion.
I'm not sure if this is a bug in the tests, in smoke.py, or in pymongo.
- related to
-
SERVER-18073 Fix smoke.py to work with pymongo 3.0
- Closed