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

testsuite failures, version 2.5.1 , can't starte mongodb

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: 2.5, 2.5.1
    • Fix Version/s: None
    • Component/s: None
    • Labels:
    • Environment:
      gentoo

      Description

      dev-python/pymongo $ ebuild pymongo-2.5.1.ebuild clean test

      temp/pypy-c1.9/mongod.log

      Fri May 24 14:47:10.016 [initandlisten] MongoDB starting : pid=5178 port=27017 dbpath=/mnt/gen2/TmpDir/portage/dev-python/pymongo-2.5$
      Fri May 24 14:47:10.016 [initandlisten] db version v2.4.4-pre-
      Fri May 24 14:47:10.016 [initandlisten] git version: nogitversion
      Fri May 24 14:47:10.016 [initandlisten] build info: Linux archtester 3.4.11-tuxonice #4 SMP Mon Mar 4 16:00:33 WST 2013 x86_64 BOOST_$
      Fri May 24 14:47:10.016 [initandlisten] allocator: tcmalloc
      Fri May 24 14:47:10.016 [initandlisten] options: { bind_ip: "127.0.0.1", dbpath: "/mnt/gen2/TmpDir/portage/dev-python/pymongo-2.5.1/t$
      Fri May 24 14:47:10.150 [FileAllocator] allocating new datafile /mnt/gen2/TmpDir/portage/dev-python/pymongo-2.5.1/temp/pypy-c1.9/mong$
      Fri May 24 14:47:10.150 [FileAllocator] creating directory /mnt/gen2/TmpDir/portage/dev-python/pymongo-2.5.1/temp/pypy-c1.9/mongo.db/$
      Fri May 24 14:47:10.150 [FileAllocator] done allocating datafile /mnt/gen2/TmpDir/portage/dev-python/pymongo-2.5.1/temp/pypy-c1.9/mon$
      Fri May 24 14:47:10.151 [FileAllocator] allocating new datafile /mnt/gen2/TmpDir/portage/dev-python/pymongo-2.5.1/temp/pypy-c1.9/mong$
      Fri May 24 14:47:10.151 [FileAllocator] done allocating datafile /mnt/gen2/TmpDir/portage/dev-python/pymongo-2.5.1/temp/pypy-c1.9/mon$
      Fri May 24 14:47:10.160 [initandlisten] ERROR: listen(): bind() failed errno:99 Cannot assign requested address for socket: 127.0.0.1$
      Fri May 24 14:47:10.160 [initandlisten] now exiting
      Fri May 24 14:47:10.160 dbexit:
      Fri May 24 14:47:10.160 [websvr] ERROR: listen(): bind() failed errno:99 Cannot assign requested address for socket: 127.0.0.1:28017
      Fri May 24 14:47:10.160 [initandlisten] shutdown: going to close listening sockets...
      Fri May 24 14:47:10.160 [initandlisten] shutdown: going to flush diaglog...
      Fri May 24 14:47:10.160 [initandlisten] shutdown: going to close sockets...
      Fri May 24 14:47:10.160 [initandlisten] shutdown: waiting for fs preallocator...
      Fri May 24 14:47:10.160 [initandlisten] shutdown: closing all files...
      Fri May 24 14:47:10.161 [initandlisten] closeAllFiles() finished
      Fri May 24 14:47:10.161 [initandlisten] shutdown: removing fs lock...
      Fri May 24 14:47:10.161 dbexit: really exiting now

      I'm thinking something is missing here;

      RDEPEND="dev-db/mongodb"
      DEPEND="${RDEPEND}
      dev-python/setuptools[${PYTHON_USEDEP}]
      doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
      test? ( dev-python/nose[${PYTHON_USEDEP}] )
      kerberos? ( dev-python/pykerberos )"

      What appears to have triggered this oddity is simply a recent upgrade of the system. This connected happily recently prior to an emerge -u world

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: