Project

General

Profile

Support #1204

test failure (MongoDBDocumentStore.py)

Added by Santos, Edward over 11 years ago. Updated over 11 years ago.

Status:
Rejected
Priority:
Normal
Assignee:
Category:
Online reconstruction
Target version:
Start date:
12 January 2013
Due date:
% Done:

0%

Estimated time:
Workflow:
New Issue

Description

tracker_devel is failing to build in Jenkins due to an error arising in src/common_py/docstore/MongoDBDocumentStore.py for which I show the output below.

The test passes in my system (CentOS).

Ideas?

Edward

======================================================================
ERROR: Test connect with a bad host throws an AutoReconnect error as
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/workspace/MAUS_tracker_devel/tests/integration/test_distributed_processing/test_docstore/test_MongoDBDocumentStore.py", line 90, in test_connect_bad_host
self._data_store.connect(parameters)
File "/home/jenkins/workspace/MAUS_tracker_devel/src/common_py/docstore/MongoDBDocumentStore.py", line 59, in connect
parameters["mongodb_port"])
File "build/bdist.linux-x86_64/egg/pymongo/connection.py", line 180, in init
max_pool_size, document_class, tz_aware, _connect, **kwargs)
File "build/bdist.linux-x86_64/egg/pymongo/mongo_client.py", line 274, in init
raise ConnectionFailure(str(e))
ConnectionFailure: could not connect to nonExistant:999999: [Errno -2] Name or service not known

======================================================================
ERROR: Test connect with a bad port throws an AutoReconnect error as
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/jenkins/workspace/MAUS_tracker_devel/tests/integration/test_distributed_processing/test_docstore/test_MongoDBDocumentStore.py", line 102, in test_connect_bad_port
self._data_store.connect(parameters)
File "/home/jenkins/workspace/MAUS_tracker_devel/src/common_py/docstore/MongoDBDocumentStore.py", line 59, in connect
parameters["mongodb_port"])
File "build/bdist.linux-x86_64/egg/pymongo/connection.py", line 180, in init
max_pool_size, document_class, tz_aware, _connect, **kwargs)
File "build/bdist.linux-x86_64/egg/pymongo/mongo_client.py", line 274, in init
raise ConnectionFailure(str(e))
ConnectionFailure: could not connect to localhost:999999: [Errno 111] Connection refused



Related issues

Is duplicate of MAUS - Bug #1181: PyMongo 2.4 throws ConnectionFailure not Autoreconnect on failed ConnectionClosedRogers, Chris29 November 2012

Actions

Also available in: Atom PDF