Uploaded image for project: 'Python Driver'
  1. Python Driver
  2. PYTHON-30

Test failures on 32-bit Gentoo

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Gentoo, 32-bit

      Description

      I have the following nosetest errors on my 32-bit gentoo box.

      I have git current mongo-python-driver:
      commit c4829f3bb673629ac145ac66533cbd4c1a611902
      Author: Mike Dirolf <mike@10gen.com>
      Date: Wed Jul 8 14:09:56 2009 -0400

      I have git current mongo:
      commit ad841f9c4a02473be11cef7f3c31e516c9f7239e
      Author: Eliot Horowitz <eliot@10gen.com>
      Date: Thu Jul 9 12:09:06 2009 -0400

      $ nosetests
      ......F...............................E..................F..E......................E.................................SS........SSSSS......F...........Exception in thread Thread-53:
      Traceback (most recent call last):
      File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
      self.run()
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_threads.py", line 31, in run
      for document in self.collection.find():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 331, in next
      elif self._refresh():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 320, in _refresh
      send_message(2005, message)
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 270, in send_message
      self.__id)
      OperationFailure: cursor id '4684919091739949895' not valid at server

      Exception in thread Thread-55:
      Traceback (most recent call last):
      File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
      self.run()
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_threads.py", line 31, in run
      for document in self.collection.find():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 331, in next
      elif self._refresh():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 320, in _refresh
      send_message(2005, message)
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 270, in send_message
      self.__id)
      OperationFailure: cursor id '8636014173397646192' not valid at server

      Exception in thread Thread-56:
      Traceback (most recent call last):
      File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
      self.run()
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_threads.py", line 31, in run
      for document in self.collection.find():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 331, in next
      elif self._refresh():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 320, in _refresh
      send_message(2005, message)
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 270, in send_message
      self.__id)
      OperationFailure: cursor id '1466055216097590157' not valid at server

      Exception in thread Thread-57:
      Traceback (most recent call last):
      File "/usr/lib/python2.6/threading.py", line 525, in __bootstrap_inner
      self.run()
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_threads.py", line 31, in run
      for document in self.collection.find():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 331, in next
      elif self._refresh():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 320, in _refresh
      send_message(2005, message)
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 270, in send_message
      self.__id)
      OperationFailure: cursor id '7048587569236999159' not valid at server

      .
      ======================================================================
      ERROR: test_large_limit (test.test_collection.TestCollection)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_collection.py", line 532, in test_large_limit
      for _ in db.test.find(limit=1900):
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 331, in next
      elif self._refresh():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 320, in _refresh
      send_message(2005, message)
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 270, in send_message
      self.__id)
      OperationFailure: cursor id '8046349622179401618' not valid at server

      ======================================================================
      ERROR: test_slave_okay (test.test_cursor.TestCursor)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_cursor.py", line 92, in test_slave_okay
      self.assertRaises(InvalidOperation, a.slave_okay)
      AttributeError: 'Cursor' object has no attribute 'slave_okay'

      ======================================================================
      ERROR: test_save_a_bunch (test.test_database.TestDatabase)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_database.py", line 381, in test_save_a_bunch
      for _ in db.test.find():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 331, in next
      elif self._refresh():
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 320, in _refresh
      send_message(2005, message)
      File "build/bdist.linux-i686/egg/pymongo/cursor.py", line 270, in send_message
      self.__id)
      OperationFailure: cursor id '4954815124383353408' not valid at server

      ======================================================================
      FAIL: test_basic_from_dict (test.test_bson.TestBSON)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_bson.py", line 115, in test_basic_from_dict
      "\x13\x00\x00\x00\x09\x64\x61\x74\x65\x00\x38\xBE\x1C"
      AssertionError: '\x13\x00\x00\x00\tdate\x00\x10\x18\x1d\xff\x0f\x01\x00\x00\x00' != '\x13\x00\x00\x00\tdate\x008\xbe\x1c\xff\x0f\x01\x00\x00\x00'

      ======================================================================
      FAIL: test_kill_cursors (test.test_cursor.TestCursor)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_cursor.py", line 348, in test_kill_cursors
      db._command(

      {"cursorInfo": 1}

      )["clientCursors_size"])
      AssertionError: 0 == 0

      ======================================================================
      FAIL: test_from_xml (test.test_son.TestSON)
      ----------------------------------------------------------------------
      Traceback (most recent call last):
      File "/home/joseph/utils/src/mongo-python-driver.git/test/test_son.py", line 109, in test_from_xml
      (u"mynull", None),
      AssertionError: SON([('_id', ObjectId('(ZfI#\xb5\xfc\xd8\xec\x00\x00\x00')), ('the_answer', 42), ('b', u'foo'), ('c', True), ('pi', 3.14159265358979), ('an_array', [u'x', u'y', u'z', SON([('subobject', u'yup')])]), ('now', datetime.datetime(1973, 11, 26, 6, 47, 30, 57000)), ('dbref', DBRef(u'namespace', ObjectId('\xca\\gIl\x01\xd8\x96\xf7\x01\x00\x00'))), ('regex', <_sre.SRE_Pattern object at 0xa15dcc8>), ('$where', Code('this is code', {})), ('mynull', None)]) != SON([(u'_id', ObjectId('(ZfI#\xb5\xfc\xd8\xec\x00\x00\x00')), (u'the_answer', 42), (u'b', u'foo'), (u'c', True), (u'pi', 3.14159265358979), (u'an_array', [u'x', u'y', u'z', SON([(u'subobject', u'yup')])]), (u'now', datetime.datetime(1973, 11, 26, 6, 47, 32, 57000)), (u'dbref', DBRef(u'namespace', ObjectId('\xca\\gIl\x01\xd8\x96\xf7\x01\x00\x00'))), (u'regex', <_sre.SRE_Pattern object at 0xa15dcc8>), (u'$where', 'this is code'), (u'mynull', None)])

      ----------------------------------------------------------------------
      Ran 151 tests in 78.539s

      FAILED (SKIP=7, errors=3, failures=3)

        Attachments

        1. mongo.out
          64 kB
        2. mongo2.out
          64 kB
        3. nosetests.out
          11 kB
        4. nosetests2.out
          6 kB

          Activity

            People

            Assignee:
            mike Michael Dirolf
            Reporter:
            turian Joseph Turian
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: