Skip to content

Instantly share code, notes, and snippets.

@carueda
Last active August 29, 2015 14:02
Show Gist options
  • Save carueda/dbe669959e86cfd14c60 to your computer and use it in GitHub Desktop.
Save carueda/dbe669959e86cfd14c60 to your computer and use it in GitHub Desktop.
issues with int tests without pycc
(coi)➜ coi-services-carueda git:(master) ✗ bin/nosetests -sv ion/agents/platform/test/
pyon: pyon.bootstrap (bootstrap_pyon) executing...
store_interfaces: Created 3 datastores: ['events', 'state', 'objects']
store_interfaces: Storing 17 entries in directory...
store_interfaces: Storing 604 resources in registry...
store_interfaces: Storing interfaces successful
oms_simulator: setting log level to: logging.WARN
pyon: pyon.bootstrap (bootstrap_pyon) executing...
pyon: WARNING -- bootstrap_pyon() called again!
test_verify_service ( ion.agents.platform.test.test_mission_executive:PyonTestCase.test_verify_service ) ... SKIP: Not implementing an Ion Service
test_load_mission ( ion.agents.platform.test.test_mission_executive:TestParseMission.test_load_mission ) ... ok
test_load_mission_file ( ion.agents.platform.test.test_mission_executive:TestParseMission.test_load_mission_file ) ... 2014-06-24 09:53:47,711 WARNING Dummy-1 ion.agents.mission_executive:460 [mm] instrument_id not recognized from instrumentID list: PRE:SBE37_SIM_02
2014-06-24 09:53:47,712 WARNING Dummy-1 ion.agents.mission_executive:286 [mm] instrument_id not recognized from instrumentID list: PRE:SBE37_SIM_02
2014-06-24 09:53:47,712 WARNING Dummy-1 ion.agents.mission_executive:286 [mm] instrument_id not recognized from instrumentID list: PRE:SBE37_SIM_02
2014-06-24 09:53:47,712 WARNING Dummy-1 ion.agents.mission_executive:286 [mm] instrument_id not recognized from instrumentID list: PRE:SBE37_SIM_02
2014-06-24 09:53:47,712 WARNING Dummy-1 ion.agents.mission_executive:286 [mm] instrument_id not recognized from instrumentID list: PRE:SBE37_SIM_02
2014-06-24 09:53:47,712 WARNING Dummy-1 ion.agents.mission_executive:286 [mm] instrument_id not recognized from instrumentID list: PRE:SBE37_SIM_03
ok
test_verify_service ( ion.agents.platform.test.test_mission_executive:TestParseMission.test_verify_service ) ... SKIP: Not implementing an Ion Service
HelperTestMixin: _setUpClassBasedOnSimulator
PLAT_NETWORK undefined -> using base platform: 'Node1D'
test_shallow_profiler_mission ( ion.agents.platform.test.test_mission_executive:TestSimpleMission.test_shallow_profiler_mission ) ... SKIP: Work in progress...
test_simple_simulator_mission ( ion.agents.platform.test.test_mission_executive:TestSimpleMission.test_simple_simulator_mission ) ... SKIP: Deprecated... Use test_mission_manager instead
test_verify_service ( ion.agents.platform.test.test_mission_executive:TestSimpleMission.test_verify_service ) ... oms_simulator: setting log level to: logging.WARN
127.0.0.1 - - [24/Jun/2014 09:53:52] "POST / HTTP/1.1" 200 -
store_interfaces: Created 0 datastores: []
store_interfaces: Interfaces already stored. Not updating.
2014-06-24 09:53:53,195 ERROR NODE-primary pyon.net.transport:119 AMQPTransport.underlying closed:
channel number: 5
code: 406
text: PRECONDITION_FAILED - parameters for queue 'ooi.pyon.events.ooi.event_persister' in vhost '/' not equivalent
Traceback (most recent call last):
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/eggs/gevent-0.13.8-py2.7-macosx-10.8-intel.egg/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 495, in listen
self.prepare_listener(binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 519, in prepare_listener
self.initialize(binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 538, in initialize
self._setup_listener(self._recv_name, binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 482, in _setup_listener
self._chan.setup_listener(name, binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/channel.py", line 525, in setup_listener
queue = self._declare_queue(queue)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/channel.py", line 694, in _declare_queue
durable=self.queue_durable)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/transport.py", line 366, in declare_queue_impl
arguments=arguments)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/transport.py", line 327, in _sync_call
raise ret_vals
TransportError: _sync_call could not complete due to an error (PRECONDITION_FAILED - parameters for queue 'ooi.pyon.events.ooi.event_persister' in vhost '/' not equivalent)
<Greenlet at 0x1054caaf0: <bound method EventSubscriber.listen of <pyon.ion.event.EventSubscriber object at 0x105bbfc90>>> failed with TransportError
2014-06-24 09:53:58,191 WARNING Dummy-1 pyon.ion.event:252 EventSubscriber start timed out.
2014-06-24 09:53:58,239 WARNING Dummy-1 pyon.core.governance:181 The ION System Actor Identity was not found; defaulting to anonymous actor
2014-06-24 09:53:58,280 ERROR NODE-primary pyon.net.transport:246 AMQPTransport.underlying closed:
channel number: 8
code: 406
text: PRECONDITION_FAILED - parameters for queue 'ooi.resource_registry' in vhost '/' not equivalent
Traceback (most recent call last):
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/eggs/gevent-0.13.8-py2.7-macosx-10.8-intel.egg/gevent/greenlet.py", line 390, in run
result = self._run(*self.args, **self.kwargs)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 495, in listen
self.prepare_listener(binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 519, in prepare_listener
self.initialize(binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 538, in initialize
self._setup_listener(self._recv_name, binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/endpoint.py", line 482, in _setup_listener
self._chan.setup_listener(name, binding=binding)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/channel.py", line 525, in setup_listener
queue = self._declare_queue(queue)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/channel.py", line 694, in _declare_queue
durable=self.queue_durable)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/transport.py", line 366, in declare_queue_impl
arguments=arguments)
File "/Users/carueda/ooici/Dev/code/coi-services-carueda/extern/pyon/pyon/net/transport.py", line 327, in _sync_call
raise ret_vals
TransportError: _sync_call could not complete due to an error (PRECONDITION_FAILED - parameters for queue 'ooi.resource_registry' in vhost '/' not equivalent)
<Greenlet at 0x1054caeb0: <bound method ProcessRPCServer.listen of <pyon.ion.endpoint.ProcessRPCServer object at 0x1034f7990>>(thread_name='resource_registry-bochica_local_33173.3-listen-1')> failed with TransportError
2014-06-24 09:53:58,312 ERROR Dummy-13 pyon.core.thread:176 Child failed with an exception: (<Greenlet at 0x1054caeb0: <bound method ProcessRPCServer.listen of <pyon.ion.endpoint.ProcessRPCServer object at 0x1034f7990>>(thread_name='resource_registry-bochica_local_33173.3-listen-1')>) _sync_call could not complete due to an error (PRECONDITION_FAILED - parameters for queue 'ooi.resource_registry' in vhost '/' not equivalent)
... and more similar errors follow ... then have to kill it ....
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment