Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add test mode to datacentre #77

Closed
hawesie opened this issue Aug 12, 2014 · 4 comments
Closed

Add test mode to datacentre #77

hawesie opened this issue Aug 12, 2014 · 4 comments
Assignees

Comments

@hawesie
Copy link
Member

hawesie commented Aug 12, 2014

The datacentre will also need a test mode where it creates its own local directory for storage, rather than assuming a global one. Needed due to #75.

@hawesie hawesie added this to the Prepare for ros distro milestone Aug 12, 2014
@hawesie
Copy link
Member Author

hawesie commented Aug 13, 2014

Also needs randomised or otherwise unique port.

These both must support parallel running of multiple datacentres.

@marc-hanheide
Copy link
Member

@marc-hanheide marc-hanheide reopened this Sep 12, 2014
@marc-hanheide
Copy link
Member

Here's the relevant bit:

[INFO] [WallTime: 1410525535.414389] Mongo server address: localhost:58430
Traceback (most recent call last):
  File "/tmp/test_repositories/src_repository/mongodb_store/mongodb_store/scripts/mongodb_server.py", line 166, in <module>
    server = MongoServer()
  File "/tmp/test_repositories/src_repository/mongodb_store/mongodb_store/scripts/mongodb_server.py", line 79, in __init__
    mongov = subprocess.check_output(["mongod","--version"])
  File "/usr/lib/python2.7/subprocess.py", line 566, in check_output
    process = Popen(stdout=PIPE, *popenargs, **kwargs)
  File "/usr/lib/python2.7/subprocess.py", line 710, in __init__
    errread, errwrite)
  File "/usr/lib/python2.7/subprocess.py", line 1327, in _execute_child
    raise child_exception
OSError: [Errno 2] No such file or directory

apparently mongod would need to listed in the package.xml as a dependency as it is not installed here.

@marc-hanheide
Copy link
Member

Fixed in #89

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants