Created
June 11, 2013 05:51
-
-
Save carueda/5754711 to your computer and use it in GitHub Desktop.
test_platform_status_terminate_and_restart_instrument_1_1
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
logging.local.yml: | |
ion.agents.platform.platform_agent_stream_publisher: | |
level: DEBUG | |
ion.agents.platform.status_manager: | |
level: DEBUG | |
ion.agents.platform.test.base_test_platform_agent_with_rsn: | |
level: DEBUG | |
ion.services.sa.observatory.test: | |
level: DEBUG | |
$ bin/nosetests -sv ion/services/sa/observatory/test/test_platform_status.py:Test.test_platform_status_terminate_and_restart_instrument_1_1 | |
2013-06-10 22:47:01,989 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:878 [.] waiting for ProcessLifecycleEvent RUNNING | |
2013-06-10 22:47:01,989 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:881 [.] waiting for ProcessLifecycleEvent RUNNING - Got it! | |
2013-06-10 22:47:02,014 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:190 All root statuses: | |
AGGREGATE_COMMS AGGREGATE_DATA AGGREGATE_LOCATION AGGREGATE_POWER | |
a90b1f0f7d6b450da2199e7a4f59c27f : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
aggstatus : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
rollup_status : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
2013-06-10 22:47:02,014 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:888 [.] publish_event_for_diagnostics | |
publishing: {'origin': 'command_line', 'sub_type': 'diagnoser', 'event_type': 'DeviceEvent'} | |
2013-06-10 22:47:02,027 INFO resource_agent-processc99e78b38969463e84f4b7ea4a2cac50-listen-3 ion.agents.platform.status_manager:963 'LJ01D'/RESOURCE_AGENT_STATE_COMMAND: (d340004c27294d89a52373c429adef07) status report triggered by diagnostic event: | |
AGGREGATE_COMMS AGGREGATE_DATA AGGREGATE_LOCATION AGGREGATE_POWER | |
a90b1f0f7d6b450da2199e7a4f59c27f : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
aggstatus : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
rollup_status : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
... | |
2013-06-10 22:47:02,045 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:941 [.] waiting for ProcessLifecycleEvent TERMINATED - Got it! | |
127.0.0.1 - - [2013-06-10 22:47:04] "POST / HTTP/1.1" 200 107 0.002961 | |
127.0.0.1 - - [2013-06-10 22:47:11] "POST / HTTP/1.1" 200 107 0.004714 | |
1.0.0.127.in-addr.arpa - - [10/Jun/2013 22:47:12] "POST / HTTP/1.1" 200 - | |
2013-06-10 22:47:17,049 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:949 [.] publish_event_for_diagnostics after instrument termination | |
publishing: {'origin': 'command_line', 'sub_type': 'diagnoser', 'event_type': 'DeviceEvent'} | |
2013-06-10 22:47:17,067 INFO resource_agent-processc99e78b38969463e84f4b7ea4a2cac50-listen-3 ion.agents.platform.status_manager:963 'LJ01D'/RESOURCE_AGENT_STATE_COMMAND: (d340004c27294d89a52373c429adef07) status report triggered by diagnostic event: | |
AGGREGATE_COMMS AGGREGATE_DATA AGGREGATE_LOCATION AGGREGATE_POWER | |
a90b1f0f7d6b450da2199e7a4f59c27f : STATUS_UNKNOWN STATUS_UNKNOWN STATUS_UNKNOWN STATUS_UNKNOWN | |
aggstatus : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
rollup_status : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
... | |
2013-06-10 22:47:17,104 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:990 [.] waiting for ProcessLifecycleEvent RUNNING | |
2013-06-10 22:47:17,107 DEBUG resource_agent-processc99e78b38969463e84f4b7ea4a2cac50-listen-6 ion.agents.platform.status_manager:392 'LJ01D': [TC] _got_process_lifecycle_event: origin='a90b1f0f7d6b450da2199e7a4f59c27f' state='RUNNING'(4) | |
2013-06-10 22:47:17,107 DEBUG resource_agent-processc99e78b38969463e84f4b7ea4a2cac50-listen-6 ion.agents.platform.status_manager:459 'LJ01D': [TC] _device_running_event: origin='a90b1f0f7d6b450da2199e7a4f59c27f' | |
2013-06-10 22:47:17,109 DEBUG Dummy-172 ion.services.sa.observatory.test.test_platform_status:812 [.]Event subscriber received 'ProcessLifecycleEvent': origin='a90b1f0f7d6b450da2199e7a4f59c27f' origin_type='DispatchedProcess' state='RUNNING'(4) | |
2013-06-10 22:47:17,111 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:993 [.] waiting for ProcessLifecycleEvent RUNNING - Got it! | |
2013-06-10 22:47:17,143 DEBUG resource_agent-processc99e78b38969463e84f4b7ea4a2cac50-listen-6 ion.agents.platform.status_manager:488 'LJ01D': _device_running_event: retrieved aggstatus from instrument 'a90b1f0f7d6b450da2199e7a4f59c27f': {1: 2, 2: 2, 3: 2, 4: 2} | |
2013-06-10 22:47:17,143 DEBUG resource_agent-processc99e78b38969463e84f4b7ea4a2cac50-listen-6 ion.agents.platform.status_manager:501 'LJ01D': _device_running_event: my updated child status for instrument 'a90b1f0f7d6b450da2199e7a4f59c27f': {1: 2, 2: 2, 3: 2, 4: 2} | |
127.0.0.1 - - [2013-06-10 22:47:18] "POST / HTTP/1.1" 200 107 0.002438 | |
127.0.0.1 - - [2013-06-10 22:47:26] "POST / HTTP/1.1" 200 107 0.002410 | |
2013-06-10 22:47:32,128 DEBUG Dummy-1 ion.services.sa.observatory.test.test_platform_status:998 [.] publish_event_for_diagnostics after instrument re-start | |
publishing: {'origin': 'command_line', 'sub_type': 'diagnoser', 'event_type': 'DeviceEvent'} | |
2013-06-10 22:47:32,140 INFO resource_agent-processc99e78b38969463e84f4b7ea4a2cac50-listen-3 ion.agents.platform.status_manager:963 'LJ01D'/RESOURCE_AGENT_STATE_COMMAND: (d340004c27294d89a52373c429adef07) status report triggered by diagnostic event: | |
AGGREGATE_COMMS AGGREGATE_DATA AGGREGATE_LOCATION AGGREGATE_POWER | |
a90b1f0f7d6b450da2199e7a4f59c27f : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
aggstatus : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
rollup_status : STATUS_OK STATUS_OK STATUS_OK STATUS_OK | |
... | |
ok | |
---------------------------------------------------------------------- | |
Ran 1 test in 148.575s | |
OK |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment