Git Product home page Git Product logo

cs-content's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cs-content's Issues

Input/Output convention question.

@oritstone The inputs/outpus should respect the convention of word separated by underscore. But my question is, what should I do about the inputs of actions implemented by content like SSH,HttpClient, SendEmail etc. Those have inputs with camelcase. It seems we should either change the content aswell or change the convention back to camelcase. Any suggestions?

stringified issues in content results

o strings
 match_regex
 uses stringified booleans
 string_occurrence_counter
 results not working due to usage of stringified int
• consul
o parse_key
 uses stringified ints

SSH Operations problem

We have a a lot of operations which use SSH that are hard to use for someone using Slang the first time.
Operations like get_container_ip.sl would have the user expect that in the db_IP output would be an actual IP, but that's not the case only if the operation is used in a flow along side with the validate_linux_machine_ssh_access. Otherwise the Linux welcome message will be in that output.

Will there be some kind of documentation on how to use those, or some kind of parser should be made, or maybe move all these kind of operations in util folders and provide the user only wrapper flows around them? Also, operation which seems generalized contains "db_IP" output as used for the demo_dev_ops.sl

WDYT @oritstone @meirwah

Add a new general SSH operation

The operation should be a .sl file
Should be under: org\openscore\slang\technologies\remote_command_execution\SSH
With namespace: org.openscore.slang.technologies.remote_command_execution.SSH

@orius123 @meirwah @meshipeer - better suggestions on the exact location/name of folders?
I took it from OO 9.x repository

marathon folder - flow output names

The style of names didn't match in the comments and code. I believe the code style was correct of all the operations because they came from a Java action. (I changed the comments accordingly.) But I think the style in the flows should be changed to match the style that was found in the comments.

issue with CoreOS flow

Command failed java.lang.RuntimeException: Slang Error : Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line numbe
r 1

StackTrace :
Caused by: Traceback (most recent call last):
File "<script>", line 1, in
NameError: name 'images_list_safe_to_delete' is not defined

at org.python.core.Py.NameError(Py.java:256)
at org.python.core.PyFrame.getname(PyFrame.java:257)
at org.python.pycode._pyx4797.f$0(<script>:1)
at org.python.pycode._pyx4797.call_function(<script>)
at org.python.core.PyTableCode.call(PyTableCode.java:166)
at org.python.core.PyCode.call(PyCode.java:18)
at org.python.core.Py.runCode(Py.java:1312)
at org.python.core.__builtin__.eval(__builtin__.java:483)
at org.python.core.__builtin__.eval(__builtin__.java:487)
at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:214)
at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:40)
... 18 more

2015-04-22 14:09:24:957 4091331 [WorkerExecutionThread-8_101600053] ERROR io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl - Failed to run the action! Class: io.cloudslang.lang.runtime.navigations.Navigations, method: navigate, reason: Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.navigate(ExecutionServiceImpl.java:355)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:80)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:147)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.RuntimeException: Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1
at io.cloudslang.lang.runtime.navigations.Navigations.navigate(Navigations.java:44)
... 14 more
2015-04-22 14:09:24:958 4091332 [WorkerExecutionThread-8_101600053] ERROR io.cloudslang.worker.execution.services.ExecutionServiceImpl - Error occurred during navigation execution. Execution id: 101600053
io.cloudslang.score.exceptions.FlowExecutionException: Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:73)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.navigate(ExecutionServiceImpl.java:355)
at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:80)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:147)
at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:111)
at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
at java.util.concurrent.FutureTask.run(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
at java.lang.Thread.run(Unknown Source)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor67.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
... 10 more
Caused by: java.lang.RuntimeException: Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1
at io.cloudslang.lang.runtime.navigations.Navigations.navigate(Navigations.java:44)
... 14 more
2015-04-22 14:09:24:958 4091332 [WorkerExecutionThread-8_101600053] INFO io.cloudslang.lang.cli.SlangCLI - Event received: SCORE_ERROR_EVENT Data is: {error_message=Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1, systemContext={executionIdContext=101600053, FLOW_TERMINATION_TYPE=SYSTEM_FAILURE, BEGIN_STEPS_MAP={io.cloudslang.base.strings.string_equals=1, io.cloudslang.docker.maintenance.diskspace_health_check=1, io.cloudslang.coreos.list_machines_public_ip=1, io.cloudslang.docker.images.get_used_images_flow=1, io.cloudslang.docker.utils.parse_inspect_for_parent=1, io.cloudslang.coreos.list_machines_id=1, io.cloudslang.docker.images.inspect_image=1, io.cloudslang.docker.images.clear_unused_docker_images=1, io.cloudslang.docker.images.get_dangling_images=1, io.cloudslang.docker.maintenance.docker_images_maintenance=1, io.cloudslang.base.lists.subtract_sets=1, io.cloudslang.docker.images.get_image_name_from_id=1, io.cloudslang.docker.images.clear_docker_images=1, io.cloudslang.docker.images.clear_docker_images_flow=1, io.cloudslang.docker.images.get_all_images=1, io.cloudslang.coreos.get_machine_public_ip=1, io.cloudslang.docker.images.get_used_images=1, io.cloudslang.coreos.cluster_docker_images_maintenance=1, io.cloudslang.base.os.linux.validate_linux_machine_ssh_access=1, io.cloudslang.docker.images.clear_docker_dangling_images_flow=1, io.cloudslang.docker.images.get_image_parent=1, io.cloudslang.base.comparisons.less_than_percentage=1, io.cloudslang.base.os.linux.check_linux_disk_space=1}, SCORE_EVENTS_QUEUE=[io.cloudslang.score.events.ScoreEvent@59e59219, io.cloudslang.score.events.ScoreEvent@2598bf99], RUNNING_PLANS_MAP={io.cloudslang.base.strings.string_equals=100000001, io.cloudslang.docker.maintenance.diskspace_health_check=100000002, io.cloudslang.coreos.list_machines_public_ip=100000003, io.cloudslang.docker.images.get_used_images_flow=100000004, io.cloudslang.docker.utils.parse_inspect_for_parent=100000005, io.cloudslang.coreos.list_machines_id=100000006, io.cloudslang.docker.images.inspect_image=100000007, io.cloudslang.docker.images.clear_unused_docker_images=100000008, io.cloudslang.docker.images.get_dangling_images=100000009, io.cloudslang.docker.maintenance.docker_images_maintenance=100000010, io.cloudslang.base.lists.subtract_sets=100000011, io.cloudslang.docker.images.get_image_name_from_id=100000012, io.cloudslang.docker.images.clear_docker_images=100000013, io.cloudslang.docker.images.clear_docker_images_flow=100000014, io.cloudslang.docker.images.get_all_images=100000015, io.cloudslang.coreos.get_machine_public_ip=100000016, io.cloudslang.docker.images.get_used_images=100000017, io.cloudslang.coreos.cluster_docker_images_maintenance=100000023, io.cloudslang.base.os.linux.validate_linux_machine_ssh_access=100000018, io.cloudslang.docker.images.clear_docker_dangling_images_flow=100000019, io.cloudslang.docker.images.get_image_parent=100000020, io.cloudslang.base.comparisons.less_than_percentage=100000021, io.cloudslang.base.os.linux.check_linux_disk_space=100000022}, EXECUTION_STEP_ERROR_KEY=Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1}, logMessage=Error occurred during navigation execution , SCORE_ERROR_TYPE=STEP_NAV_ERROR}
2015-04-22 14:09:24:958 4091332 [WorkerExecutionThread-8_101600053] INFO io.cloudslang.lang.cli.SlangCLI - Event received: EVENT_OUTPUT_START Data is: {PATH=0/3/0/2/0/2/0, DESCRIPTION=Output binding started, EXECUTIONID=101600053, executableResults=[io.cloudslang.lang.entities.bindings.Result@45ce9de2[name=SUCCESS,expression=], io.cloudslang.lang.entities.bindings.Result@11a8875[name=FAILURE,expression=]], TIMESTAMP=Wed Apr 22 14:09:24 IDT 2015, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@749ab715[name=dangling_images_list_safe_to_delete,expression=images_list_safe_to_delete], io.cloudslang.lang.entities.bindings.Output@149eaa68[name=amount_of_dangling_images_deleted,expression=0 if images_list_safe_to_delete == '' else amount_of_dangling_images]], actionReturnValues=ReturnValues{result='FAILURE', outputs={private_key_file=C:\Users\wahnonm.ssh\id_rsa, docker_password=, used_images=busybox:latest , docker_host=188.166.104.156, docker_username=core, timeout=6000000}}, TYPE=EVENT_OUTPUT_START, EXECUTABLE_NAME=clear_docker_dangling_images_flow}
2015-04-22 14:09:24:958 4091332 [WorkerExecutionThread-8_101600053] INFO io.cloudslang.lang.cli.SlangCLI - Event received: SLANG_EXECUTION_EXCEPTION Data is: {PATH=0/3/0/2/0/2/0, DESCRIPTION=Error detected during step, EXECUTIONID=101600053, TIMESTAMP=Wed Apr 22 14:09:24 IDT 2015, EXCEPTION=Error running: 'clear_docker_dangling_images_flow'.
Error binding output: 'dangling_images_list_safe_to_delete',
Error is: Error in running script expression or variable reference, for expression: 'images_list_safe_to_delete',
Script exception is: javax.script.ScriptException: NameError: name 'images_list_safe_to_delete' is not defined in <script> at line number 1, TYPE=SLANG_EXECUTION_EXCEPTION}
2015-04-22 14:09:24:965 4091339 [scoreWorkerScheduler-2] INFO io.cloudslang.lang.cli.SlangCLI - Event received: SCORE_FINISHED_EVENT Data is: {IS_BRANCH=false, executionIdContext=101600053, systemContext=io.cloudslang.score.lang.SystemContext@a81aa74a, EXECUTION_CONTEXT={userInputs={}, runEnv=io.cloudslang.lang.runtime.env.RunEnvironment@646a028d}}

'less_than_percentage.sl' is not working properly

I wrote a flow using this operation, and encounter an issue.
For inputs:first = 10, second = 20. it worked fine.
For inputs:first = 300, second = 20. it worked fine.
However, for inputs:first = 100, second = 20. it said that the first is smaller, like it compares only the first character.

cluster docker images maintenance flow error

sporadic failure is back:

  • ubuntu 14.04 x64
  • java version: java version "1.7.0_79" OpenJDK Runtime Environment (IcedTea 2.5.5) (7u79-2.5.5-0ubuntu0.14.04.2)
  • cloudslang release 0.7.20
  • jython lib replaced with: jython-standalone-2.7-rc3.jar

CLI output:

- list_machines_public_ip
- - - list_machines_id
- - - get_machine_public_ip
- - - get_machine_public_ip
- - - get_machine_public_ip
- loop_docker_images_maintenance
- - - check_diskspace
- - - - - validate_linux_machine_ssh_access
- - - - - check_disk_space
- - - - - check_availability
- - - clear_unused_docker_images
- - - - - clear_docker_images
- - - - - - - validate_linux_machine_ssh_access
- - - - - - - get_all_images
- - - - - - - get_used_images
- - - - - - - - - validate_linux_machine_ssh_access_op
Command failed java.lang.RuntimeException: Slang Error : Error running: 'clear_docker_images_flow'.
    Error binding output: 'amount_of_images_deleted',
    Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
    Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1

part of the log file:

13450d0[name=machines_public_ip_list,expression=fromInputs['machines_public_ip_list'] + public_ip + ' '], io.cloudslang.lang.entities.bindings.Output@71a598b7[name=error_message,expression=error_message]], TASK_NAME=get_machine_public_ip, operationReturnValues=ReturnValues{result='SUCCESS', outputs={public_ip=188.166.102.7, error_message=}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@bb8126cc, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/1/0/2, TIMESTAMP=Wed Apr 22 07:54:24 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:24:736 621032 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=get_machine_public_ip, PATH=0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:24 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, username=core, host=188.166.101.252, password=, timeout=6000000, machine_id=322b5d0f}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:24:747 621043 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/1/0/3/0, EXECUTABLE_NAME=get_machine_public_ip, TIMESTAMP=Wed Apr 22 07:54:24 EDT 2015, BOUND_INPUTS={port=22, closeSession=false, host=188.166.101.252, agentForwarding=true, characterSet=UTF-8, pty=false, password=, privateKeyFile=/root/cloudslang-coreos, username=core, arguments=, command=fleetctl --strict-host-key-checking=false  ssh 322b5d0f cat /etc/environment, machine_id=322b5d0f, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:25:771 622067 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action JAVA, CALL_ARGUMENTS={port=22, closeSession=false, host=188.166.101.252, agentForwarding=true, characterSet=UTF-8, pty=false, password=, privateKeyFile=/root/cloudslang-coreos, username=core, arguments=, command=fleetctl --strict-host-key-checking=false  ssh 322b5d0f cat /etc/environment, machine_id=322b5d0f, timeout=6000000}, PATH=0/1/0/3/0/0, TIMESTAMP=Wed Apr 22 07:54:24 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:25:772 622068 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/1/0/3/0/0, RETURN_VALUES={returnCode=0, returnResult=COREOS_PRIVATE_IPV4=10.133.171.242
COREOS_PUBLIC_IPV4=188.166.101.252
, STDERR=, STDOUT=COREOS_PRIVATE_IPV4=10.133.171.242
COREOS_PUBLIC_IPV4=188.166.101.252
}, TIMESTAMP=Wed Apr 22 07:54:25 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:25:789 622085 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@6d5bc23c[name=SUCCESS,expression=(returnCode == '0') and (not 'ssh-agent' in STDERR) and (not 'ERROR' in STDERR)], io.cloudslang.lang.entities.bindings.Result@232d293b[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@69edf287[name=public_ip,expression=returnResult[returnResult.find('COREOS_PUBLIC_IPV4') + len('COREOS_PUBLIC_IPV4') + 1 : -1]
], io.cloudslang.lang.entities.bindings.Output@4cdb366[name=error_message,expression=STDERR if returnCode == '0' else returnResult]], PATH=0/1/0/3/0, EXECUTABLE_NAME=get_machine_public_ip, TIMESTAMP=Wed Apr 22 07:54:25 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={STDERR=, returnResult=COREOS_PRIVATE_IPV4=10.133.171.242
COREOS_PUBLIC_IPV4=188.166.101.252
, returnCode=0, STDOUT=COREOS_PRIVATE_IPV4=10.133.171.242
COREOS_PUBLIC_IPV4=188.166.101.252
}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:25:789 622085 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={public_ip=188.166.101.252, error_message=}, DESCRIPTION=Output binding finished, PATH=0/1/0/3/0, EXECUTABLE_NAME=get_machine_public_ip, TIMESTAMP=Wed Apr 22 07:54:25 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:25:798 622094 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[io.cloudslang.lang.entities.bindings.Output@6232b31c[name=machines_public_ip_list,expression=fromInputs['machines_public_ip_list'] + public_ip + ' '], io.cloudslang.lang.entities.bindings.Output@6e8d25a1[name=error_message,expression=error_message]], TASK_NAME=get_machine_public_ip, operationReturnValues=ReturnValues{result='SUCCESS', outputs={public_ip=188.166.101.252, error_message=}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@bb8126cc, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:25 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:25:805 622101 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=get_machine_public_ip, PATH=0/1/0/4, TIMESTAMP=Wed Apr 22 07:54:25 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, username=core, host=188.166.101.252, password=, timeout=6000000, machine_id=d8605de0}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:25:816 622112 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/1/0/4/0, EXECUTABLE_NAME=get_machine_public_ip, TIMESTAMP=Wed Apr 22 07:54:25 EDT 2015, BOUND_INPUTS={port=22, closeSession=false, host=188.166.101.252, agentForwarding=true, characterSet=UTF-8, pty=false, password=, privateKeyFile=/root/cloudslang-coreos, username=core, arguments=, command=fleetctl --strict-host-key-checking=false  ssh d8605de0 cat /etc/environment, machine_id=d8605de0, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:26:834 623130 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action JAVA, CALL_ARGUMENTS={port=22, closeSession=false, host=188.166.101.252, agentForwarding=true, characterSet=UTF-8, pty=false, password=, privateKeyFile=/root/cloudslang-coreos, username=core, arguments=, command=fleetctl --strict-host-key-checking=false  ssh d8605de0 cat /etc/environment, machine_id=d8605de0, timeout=6000000}, PATH=0/1/0/4/0/0, TIMESTAMP=Wed Apr 22 07:54:25 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:26:834 623130 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/1/0/4/0/0, RETURN_VALUES={returnCode=0, returnResult=COREOS_PRIVATE_IPV4=10.133.171.243
COREOS_PUBLIC_IPV4=188.166.102.6
, STDERR=, STDOUT=COREOS_PRIVATE_IPV4=10.133.171.243
COREOS_PUBLIC_IPV4=188.166.102.6
}, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:26:846 623142 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@543b695b[name=SUCCESS,expression=(returnCode == '0') and (not 'ssh-agent' in STDERR) and (not 'ERROR' in STDERR)], io.cloudslang.lang.entities.bindings.Result@8820091[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@ef333f4[name=public_ip,expression=returnResult[returnResult.find('COREOS_PUBLIC_IPV4') + len('COREOS_PUBLIC_IPV4') + 1 : -1]
], io.cloudslang.lang.entities.bindings.Output@d7dfd7[name=error_message,expression=STDERR if returnCode == '0' else returnResult]], PATH=0/1/0/4/0, EXECUTABLE_NAME=get_machine_public_ip, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={STDERR=, returnResult=COREOS_PRIVATE_IPV4=10.133.171.243
COREOS_PUBLIC_IPV4=188.166.102.6
, returnCode=0, STDOUT=COREOS_PRIVATE_IPV4=10.133.171.243
COREOS_PUBLIC_IPV4=188.166.102.6
}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:26:846 623142 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={public_ip=188.166.102.6, error_message=}, DESCRIPTION=Output binding finished, PATH=0/1/0/4/0, EXECUTABLE_NAME=get_machine_public_ip, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:26:856 623152 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[io.cloudslang.lang.entities.bindings.Output@62a4dd9b[name=machines_public_ip_list,expression=fromInputs['machines_public_ip_list'] + public_ip + ' '], io.cloudslang.lang.entities.bindings.Output@35d11db5[name=error_message,expression=error_message]], TASK_NAME=get_machine_public_ip, operationReturnValues=ReturnValues{result='SUCCESS', outputs={public_ip=188.166.102.6, error_message=}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@bb8126cc, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/1/0/4, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:26:856 623152 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={machines_public_ip_list=188.166.102.7 188.166.101.252 188.166.102.6 , error_message=}, DESCRIPTION=Output binding finished, TASK_NAME=get_machine_public_ip, nextPosition=0, PATH=0/1/0/4, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:26:868 623164 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@46de1f57[name=SUCCESS,expression=<null>], io.cloudslang.lang.entities.bindings.Result@20dbad1a[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@364196d0[name=machines_public_ip_list,expression=machines_public_ip_list[:-1]], io.cloudslang.lang.entities.bindings.Output@c144d84[name=error_message,expression=error_message]], PATH=0/1/0, EXECUTABLE_NAME=list_machines_public_ip, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, actionReturnValues=ReturnValues{result='SUCCESS', outputs={coreos_host=188.166.101.252, coreos_password=, error_message=, machines_public_ip_list=188.166.102.7 188.166.101.252 188.166.102.6 , private_key_file=/root/cloudslang-coreos, coreos_username=core, machines_id_list=0d5559fb 322b5d0f d8605de0, machine_id=d8605de0, timeout=6000000}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:26:868 623164 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={machines_public_ip_list=188.166.102.7 188.166.101.252 188.166.102.6, error_message=}, DESCRIPTION=Output binding finished, PATH=0/1/0, EXECUTABLE_NAME=list_machines_public_ip, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:26:881 623177 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[io.cloudslang.lang.entities.bindings.Output@36d0c085[name=machines_public_ip_list,expression=machines_public_ip_list], io.cloudslang.lang.entities.bindings.Output@430f77e0[name=error_message,expression=error_message]], TASK_NAME=list_machines_public_ip, operationReturnValues=ReturnValues{result='SUCCESS', outputs={error_message=, machines_public_ip_list=188.166.102.7 188.166.101.252 188.166.102.6}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@5b7d, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/1, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:26:881 623177 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={machines_public_ip_list=188.166.102.7 188.166.101.252 188.166.102.6, error_message=}, DESCRIPTION=Output binding finished, TASK_NAME=list_machines_public_ip, nextPosition=4, PATH=0/1, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:26:893 623189 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=loop_docker_images_maintenance, PATH=0/2, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, BOUND_INPUTS={percentage=0%, docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:26:897 623193 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0, EXECUTABLE_NAME=docker_images_maintenance, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, BOUND_INPUTS={percentage=0%, docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:26:900 623196 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=check_diskspace, PATH=0/2/0/1, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, BOUND_INPUTS={percentage=0%, docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:26:903 623199 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/1/0, EXECUTABLE_NAME=diskspace_health_check, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, BOUND_INPUTS={percentage=0%, docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:26:913 623209 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=validate_linux_machine_ssh_access, PATH=0/2/0/1/0/1, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, username=core, host=188.166.102.7, password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:26:935 623231 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/1/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command= , password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:28:113 624409 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action JAVA, CALL_ARGUMENTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command= , password=, timeout=6000000}, PATH=0/2/0/1/0/1/0/0, TIMESTAMP=Wed Apr 22 07:54:26 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:28:114 624410 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/2/0/1/0/1/0/0, RETURN_VALUES={returnCode=0, returnResult=, STDERR=, STDOUT=}, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:28:125 624421 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@ceadd60[name=SUCCESS,expression=returnCode == '0' and (not 'Error' in STDERR)], io.cloudslang.lang.entities.bindings.Result@f6bd040[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@6f3521a8[name=response,expression='' if 'STDOUT' not in locals() else STDOUT], io.cloudslang.lang.entities.bindings.Output@934d5a2[name=error_message,expression='' if 'STDERR' not in locals() else STDERR if returnCode == '0' else returnResult]], PATH=0/2/0/1/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={STDERR=, returnResult=, returnCode=0, STDOUT=}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:28:125 624421 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={response=, error_message=}, DESCRIPTION=Output binding finished, PATH=0/2/0/1/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:28:128 624424 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[], TASK_NAME=validate_linux_machine_ssh_access, operationReturnValues=ReturnValues{result='SUCCESS', outputs={response=, error_message=}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@5b7d, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/2/0/1/0/1, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:28:128 624424 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={}, DESCRIPTION=Output binding finished, TASK_NAME=validate_linux_machine_ssh_access, nextPosition=4, PATH=0/2/0/1/0/1, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:28:135 624431 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=check_disk_space, PATH=0/2/0/1/0/2, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, username=core, host=188.166.102.7, password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:28:144 624440 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/1/0/2/0, EXECUTABLE_NAME=check_linux_disk_space, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command=df -kh | grep -v "Filesystem" | awk 'NR==1{print $5}', password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:161 625457 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action JAVA, CALL_ARGUMENTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command=df -kh | grep -v "Filesystem" | awk 'NR==1{print $5}', password=, timeout=6000000}, PATH=0/2/0/1/0/2/0/0, TIMESTAMP=Wed Apr 22 07:54:28 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:29:162 625458 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/2/0/1/0/2/0/0, RETURN_VALUES={returnCode=0, returnResult=0%
, STDERR=, STDOUT=0%
}, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:29:171 625467 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@4ae410ca[name=SUCCESS,expression=returnCode == '0' and (not 'Error' in STDERR)], io.cloudslang.lang.entities.bindings.Result@430a642f[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@5f376c0b[name=disk_space,expression='' if 'STDOUT' not in locals() else STDOUT], io.cloudslang.lang.entities.bindings.Output@2f967703[name=error_message,expression='' if 'STDERR' not in locals() else STDERR if returnCode == '0' else returnResult]], PATH=0/2/0/1/0/2/0, EXECUTABLE_NAME=check_linux_disk_space, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={STDERR=, returnResult=0%
, returnCode=0, STDOUT=0%
}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:29:171 625467 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={disk_space=0%
, error_message=}, DESCRIPTION=Output binding finished, PATH=0/2/0/1/0/2/0, EXECUTABLE_NAME=check_linux_disk_space, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:29:176 625472 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[io.cloudslang.lang.entities.bindings.Output@3c49806a[name=disk_space,expression=disk_space]], TASK_NAME=check_disk_space, operationReturnValues=ReturnValues{result='SUCCESS', outputs={error_message=, disk_space=0%
}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@5bc7, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/2/0/1/0/2, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:29:176 625472 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={disk_space=0%
}, DESCRIPTION=Output binding finished, TASK_NAME=check_disk_space, nextPosition=6, PATH=0/2/0/1/0/2, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:29:181 625477 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=check_availability, PATH=0/2/0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={first_percentage=0%, second_percentage=0%}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:184 625480 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/1/0/3/0, EXECUTABLE_NAME=less_than_percentage, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={first_percentage=0%, second_percentage=0%}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:196 625492 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action PYTHON, CALL_ARGUMENTS={}, PATH=0/2/0/1/0/3/0/0, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:29:196 625492 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/2/0/1/0/3/0/0, RETURN_VALUES={result=false, first_percentage=0%, error_message=, second_percentage=0%, second_percentage_nr=0, first_percentage_nr=0, int_value1=0, int_value2=0}, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:29:213 625509 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@65f5d6e0[name=LESS,expression=error_message == "" and result], io.cloudslang.lang.entities.bindings.Result@6eee406b[name=MORE,expression=error_message == "" and not result], io.cloudslang.lang.entities.bindings.Result@5bc769b2[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@ec5431[name=error_message,expression=error_message]], PATH=0/2/0/1/0/3/0, EXECUTABLE_NAME=less_than_percentage, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={result=false, first_percentage=0%, error_message=, second_percentage=0%, second_percentage_nr=0, first_percentage_nr=0, int_value1=0, int_value2=0}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:29:213 625509 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=MORE, OUTPUTS={error_message=}, DESCRIPTION=Output binding finished, PATH=0/2/0/1/0/3/0, EXECUTABLE_NAME=less_than_percentage, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:29:218 625514 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[], TASK_NAME=check_availability, operationReturnValues=ReturnValues{result='MORE', outputs={error_message=}}, taskNavigationValues={FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853, MORE=io.cloudslang.lang.entities.ResultNavigation@e27c044f, LESS=io.cloudslang.lang.entities.ResultNavigation@bb8126cc}, PATH=0/2/0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:29:218 625514 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=NOT_ENOUGH_DISKSPACE, OUTPUTS={}, DESCRIPTION=Output binding finished, TASK_NAME=check_availability, nextPosition=0, PATH=0/2/0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:29:225 625521 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@46011611[name=SUCCESS,expression=<null>], io.cloudslang.lang.entities.bindings.Result@714fd9fe[name=FAILURE,expression=<null>], io.cloudslang.lang.entities.bindings.Result@3170ecd0[name=NOT_ENOUGH_DISKSPACE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[], PATH=0/2/0/1/0, EXECUTABLE_NAME=diskspace_health_check, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, actionReturnValues=ReturnValues{result='NOT_ENOUGH_DISKSPACE', outputs={percentage=0%, docker_username=core, private_key_file=/root/cloudslang-coreos, disk_space=0%
, timeout=6000000, docker_password=, docker_host=188.166.102.7}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:29:226 625522 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=NOT_ENOUGH_DISKSPACE, OUTPUTS={}, DESCRIPTION=Output binding finished, PATH=0/2/0/1/0, EXECUTABLE_NAME=diskspace_health_check, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:29:232 625528 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[], TASK_NAME=check_diskspace, operationReturnValues=ReturnValues{result='NOT_ENOUGH_DISKSPACE', outputs={}}, taskNavigationValues={NOT_ENOUGH_DISKSPACE=io.cloudslang.lang.entities.ResultNavigation@5b7d, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853, SUCCESS=io.cloudslang.lang.entities.ResultNavigation@bb8126cc}, PATH=0/2/0/1, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:29:232 625528 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=NOT_ENOUGH_DISKSPACE, OUTPUTS={}, DESCRIPTION=Output binding finished, TASK_NAME=check_diskspace, nextPosition=4, PATH=0/2/0/1, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:29:240 625536 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=clear_unused_docker_images, PATH=0/2/0/2, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:243 625539 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/2/0, EXECUTABLE_NAME=clear_unused_docker_images, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:247 625543 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=clear_docker_images, PATH=0/2/0/2/0/1, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:252 625548 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/2/0/1/0, EXECUTABLE_NAME=clear_docker_images_flow, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={docker_username=core, private_key_file=/root/cloudslang-coreos, all_parent_images=, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:267 625563 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=validate_linux_machine_ssh_access, PATH=0/2/0/2/0/1/0/1, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, username=core, host=188.166.102.7, password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:29:277 625573 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/2/0/1/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command= , password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:30:447 626743 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action JAVA, CALL_ARGUMENTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command= , password=, timeout=6000000}, PATH=0/2/0/2/0/1/0/1/0/0, TIMESTAMP=Wed Apr 22 07:54:29 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:30:447 626743 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/2/0/2/0/1/0/1/0/0, RETURN_VALUES={returnCode=0, returnResult=, STDERR=, STDOUT=}, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:30:458 626754 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@63c15a04[name=SUCCESS,expression=returnCode == '0' and (not 'Error' in STDERR)], io.cloudslang.lang.entities.bindings.Result@2afcefc6[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@43e1c636[name=response,expression='' if 'STDOUT' not in locals() else STDOUT], io.cloudslang.lang.entities.bindings.Output@1b9c260b[name=error_message,expression='' if 'STDERR' not in locals() else STDERR if returnCode == '0' else returnResult]], PATH=0/2/0/2/0/1/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={STDERR=, returnResult=, returnCode=0, STDOUT=}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:30:458 626754 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={response=, error_message=}, DESCRIPTION=Output binding finished, PATH=0/2/0/2/0/1/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:30:464 626760 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[], TASK_NAME=validate_linux_machine_ssh_access, operationReturnValues=ReturnValues{result='SUCCESS', outputs={response=, error_message=}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@5b7d, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/2/0/2/0/1/0/1, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:30:464 626760 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={}, DESCRIPTION=Output binding finished, TASK_NAME=validate_linux_machine_ssh_access, nextPosition=4, PATH=0/2/0/2/0/1/0/1, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:30:472 626768 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=get_all_images, PATH=0/2/0/2/0/1/0/2, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, username=core, host=188.166.102.7, password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:30:483 626779 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/2/0/1/0/2/0, EXECUTABLE_NAME=get_all_images, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command=docker images | awk '{print $1 ":" $2}', password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:31:506 627802 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action JAVA, CALL_ARGUMENTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command=docker images | awk '{print $1 ":" $2}', password=, timeout=6000000}, PATH=0/2/0/2/0/1/0/2/0/0, TIMESTAMP=Wed Apr 22 07:54:30 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:31:507 627803 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/2/0/2/0/1/0/2/0/0, RETURN_VALUES={returnCode=0, returnResult=REPOSITORY:TAG
, STDERR=, STDOUT=REPOSITORY:TAG
}, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:31:518 627814 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@2a70f6c9[name=SUCCESS,expression=returnCode == '0' and (not 'Error' in STDERR)], io.cloudslang.lang.entities.bindings.Result@5e5a1be3[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@6ddd0479[name=image_list,expression=returnResult.replace("\n"," ").replace("<none>:<none> ","").replace("REPOSITORY:TAG ","")]], PATH=0/2/0/2/0/1/0/2/0, EXECUTABLE_NAME=get_all_images, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={STDERR=, returnResult=REPOSITORY:TAG
, returnCode=0, STDOUT=REPOSITORY:TAG
}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:31:518 627814 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={image_list=}, DESCRIPTION=Output binding finished, PATH=0/2/0/2/0/1/0/2/0, EXECUTABLE_NAME=get_all_images, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:31:522 627818 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[io.cloudslang.lang.entities.bindings.Output@346ede61[name=all_images_list,expression=image_list]], TASK_NAME=get_all_images, operationReturnValues=ReturnValues{result='SUCCESS', outputs={image_list=}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@5bc7, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/2/0/2/0/1/0/2, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:31:523 627819 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=SUCCESS, OUTPUTS={all_images_list=}, DESCRIPTION=Output binding finished, TASK_NAME=get_all_images, nextPosition=6, PATH=0/2/0/2/0/1/0/2, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:31:526 627822 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=get_used_images, PATH=0/2/0/2/0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, BOUND_INPUTS={docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:31:529 627825 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/2/0/1/0/3/0, EXECUTABLE_NAME=get_used_images_flow, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, BOUND_INPUTS={docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:31:537 627833 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Task inputs resolved, TASK_NAME=validate_linux_machine_ssh_access_op, PATH=0/2/0/2/0/1/0/3/0/1, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, username=core, host=188.166.102.7, password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:31:546 627842 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_INPUT_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Post Input binding for operation/flow, PATH=0/2/0/2/0/1/0/3/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, BOUND_INPUTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command= , password=, timeout=6000000}, TYPE=EVENT_INPUT_END}
2015-04-22 07:54:32:562 628858 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Preparing to run action JAVA, CALL_ARGUMENTS={privateKeyFile=/root/cloudslang-coreos, port=22, closeSession=false, username=core, arguments=, host=188.166.102.7, characterSet=UTF-8, pty=false, command= , password=, timeout=6000000}, PATH=0/2/0/2/0/1/0/3/0/1/0/0, TIMESTAMP=Wed Apr 22 07:54:31 EDT 2015, TYPE=EVENT_ACTION_START}
2015-04-22 07:54:32:562 628858 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_ACTION_END Data is: {EXECUTIONID=101600008, DESCRIPTION=Action performed, PATH=0/2/0/2/0/1/0/3/0/1/0/0, RETURN_VALUES={returnCode=-1, returnResult=, STDERR=, STDOUT=}, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=EVENT_ACTION_END}
2015-04-22 07:54:32:577 628873 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@6836b284[name=SUCCESS,expression=returnCode == '0' and (not 'Error' in STDERR)], io.cloudslang.lang.entities.bindings.Result@5f022d8f[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@7fd3804[name=response,expression='' if 'STDOUT' not in locals() else STDOUT], io.cloudslang.lang.entities.bindings.Output@16892b5[name=error_message,expression='' if 'STDERR' not in locals() else STDERR if returnCode == '0' else returnResult]], PATH=0/2/0/2/0/1/0/3/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, actionReturnValues=ReturnValues{result='null', outputs={STDERR=, returnResult=, returnCode=-1, STDOUT=}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:32:577 628873 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=FAILURE, OUTPUTS={response=, error_message=}, DESCRIPTION=Output binding finished, PATH=0/2/0/2/0/1/0/3/0/1/0, EXECUTABLE_NAME=validate_linux_machine_ssh_access, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:32:582 628878 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[], TASK_NAME=validate_linux_machine_ssh_access_op, operationReturnValues=ReturnValues{result='FAILURE', outputs={response=, error_message=}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@5b7d, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/2/0/2/0/1/0/3/0/1, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:32:582 628878 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=FAILURE, OUTPUTS={}, DESCRIPTION=Output binding finished, TASK_NAME=validate_linux_machine_ssh_access_op, nextPosition=0, PATH=0/2/0/2/0/1/0/3/0/1, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:32:588 628884 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@3555fdfc[name=SUCCESS,expression=<null>], io.cloudslang.lang.entities.bindings.Result@2095c6bf[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@492b364f[name=used_images_list,expression=used_images_list]], PATH=0/2/0/2/0/1/0/3/0, EXECUTABLE_NAME=get_used_images_flow, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, actionReturnValues=ReturnValues{result='FAILURE', outputs={docker_username=core, private_key_file=/root/cloudslang-coreos, timeout=6000000, docker_password=, docker_host=188.166.102.7}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:32:588 628884 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=FAILURE, OUTPUTS={used_images_list=null}, DESCRIPTION=Output binding finished, PATH=0/2/0/2/0/1/0/3/0, EXECUTABLE_NAME=get_used_images_flow, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:32:595 628891 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, DESCRIPTION=Output binding started, taskPublishValues=[io.cloudslang.lang.entities.bindings.Output@3af33e2d[name=used_images_list,expression=used_images_list]], TASK_NAME=get_used_images, operationReturnValues=ReturnValues{result='FAILURE', outputs={used_images_list=null}}, taskNavigationValues={SUCCESS=io.cloudslang.lang.entities.ResultNavigation@5c11, FAILURE=io.cloudslang.lang.entities.ResultNavigation@ea081853}, PATH=0/2/0/2/0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:32:596 628892 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_END Data is: {EXECUTIONID=101600008, RESULT=FAILURE, OUTPUTS={used_images_list=null}, DESCRIPTION=Output binding finished, TASK_NAME=get_used_images, nextPosition=0, PATH=0/2/0/2/0/1/0/3, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=EVENT_OUTPUT_END}
2015-04-22 07:54:32:605 628901 [WorkerExecutionThread-1_101600008] ERROR io.cloudslang.lang.runtime.steps.ExecutableSteps  - There was an error running the finish executable execution step of: 'clear_docker_images_flow'.
        Error is: Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
2015-04-22 07:54:32:606 628902 [WorkerExecutionThread-1_101600008] ERROR io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl  - Failed to run the action! Class: io.cloudslang.lang.runtime.steps.ExecutableSteps, method: finishExecutable, reason: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:316)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:78)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:147)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:111)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.steps.ExecutableSteps.finishExecutable(ExecutableSteps.java:147)
        ... 14 more
Caused by: java.lang.RuntimeException: Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.bindings.OutputsBinding.bindOutputs(OutputsBinding.java:64)
        at io.cloudslang.lang.runtime.steps.ExecutableSteps.finishExecutable(ExecutableSteps.java:124)
        ... 14 more
Caused by: java.lang.RuntimeException: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.bindings.ScriptEvaluator.evalExpr(ScriptEvaluator.java:48)
        at io.cloudslang.lang.runtime.bindings.OutputsBinding.bindOutputs(OutputsBinding.java:62)
        ... 15 more
Caused by: javax.script.ScriptException: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.bindings.ScriptEvaluator.evalExpr(ScriptEvaluator.java:47)
        ... 16 more
Caused by: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:202)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
        at io.cloudslang.lang.runtime.bindings.ScriptEvaluator.evalExpr(ScriptEvaluator.java:45)
        ... 16 more
Caused by: Traceback (most recent call last):
  File "<script>", line 1, in <module>
NameError: name 'amount_of_images' is not defined

        at org.python.core.Py.NameError(Py.java:284)
        at org.python.core.PyFrame.getname(PyFrame.java:257)
        at org.python.pycode._pyx839.f$0(<script>:1)
        at org.python.pycode._pyx839.call_function(<script>)
        at org.python.core.PyTableCode.call(PyTableCode.java:167)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.Py.runCode(Py.java:1386)
        at org.python.core.__builtin__.eval(__builtin__.java:497)
        at org.python.core.__builtin__.eval(__builtin__.java:501)
        at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:259)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:40)
        ... 18 more
2015-04-22 07:54:32:619 628915 [WorkerExecutionThread-1_101600008] ERROR io.cloudslang.worker.execution.services.ExecutionServiceImpl  - Error occurred during operation execution.  Execution id: 101600008
io.cloudslang.score.exceptions.FlowExecutionException: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:73)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.executeStep(ExecutionServiceImpl.java:316)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:78)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:147)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:111)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor70.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
        ... 10 more
Caused by: java.lang.RuntimeException: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.steps.ExecutableSteps.finishExecutable(ExecutableSteps.java:147)
        ... 14 more
Caused by: java.lang.RuntimeException: Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.bindings.OutputsBinding.bindOutputs(OutputsBinding.java:64)
        at io.cloudslang.lang.runtime.steps.ExecutableSteps.finishExecutable(ExecutableSteps.java:124)
        ... 14 more
Caused by: java.lang.RuntimeException: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.bindings.ScriptEvaluator.evalExpr(ScriptEvaluator.java:48)
        at io.cloudslang.lang.runtime.bindings.OutputsBinding.bindOutputs(OutputsBinding.java:62)
        ... 15 more
Caused by: javax.script.ScriptException: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.bindings.ScriptEvaluator.evalExpr(ScriptEvaluator.java:47)
        ... 16 more
Caused by: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at org.python.jsr223.PyScriptEngine.scriptException(PyScriptEngine.java:202)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:42)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:31)
        at io.cloudslang.lang.runtime.bindings.ScriptEvaluator.evalExpr(ScriptEvaluator.java:45)
        ... 16 more
Caused by: Traceback (most recent call last):
  File "<script>", line 1, in <module>
NameError: name 'amount_of_images' is not defined

        at org.python.core.Py.NameError(Py.java:284)
        at org.python.core.PyFrame.getname(PyFrame.java:257)
        at org.python.pycode._pyx839.f$0(<script>:1)
        at org.python.pycode._pyx839.call_function(<script>)
        at org.python.core.PyTableCode.call(PyTableCode.java:167)
        at org.python.core.PyCode.call(PyCode.java:18)
        at org.python.core.Py.runCode(Py.java:1386)
        at org.python.core.__builtin__.eval(__builtin__.java:497)
        at org.python.core.__builtin__.eval(__builtin__.java:501)
        at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:259)
        at org.python.jsr223.PyScriptEngine.eval(PyScriptEngine.java:40)
        ... 18 more
2015-04-22 07:54:32:621 628917 [WorkerExecutionThread-1_101600008] ERROR io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl  - Failed to run the action! Class: io.cloudslang.lang.runtime.navigations.Navigations, method: navigate, reason: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.navigate(ExecutionServiceImpl.java:355)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:80)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:147)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:111)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.navigations.Navigations.navigate(Navigations.java:44)
        ... 14 more
2015-04-22 07:54:32:621 628917 [WorkerExecutionThread-1_101600008] ERROR io.cloudslang.worker.execution.services.ExecutionServiceImpl  - Error occurred during navigation execution. Execution id: 101600008
io.cloudslang.score.exceptions.FlowExecutionException: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:73)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.navigate(ExecutionServiceImpl.java:355)
        at io.cloudslang.worker.execution.services.ExecutionServiceImpl.execute(ExecutionServiceImpl.java:80)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.executeRegularStep(SimpleExecutionRunnable.java:147)
        at io.cloudslang.worker.management.services.SimpleExecutionRunnable.run(SimpleExecutionRunnable.java:111)
        at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
        at java.util.concurrent.FutureTask.run(FutureTask.java:262)
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
        at io.cloudslang.worker.management.services.WorkerThreadFactory$1.run(WorkerThreadFactory.java:33)
        at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor60.invoke(Unknown Source)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
        at java.lang.reflect.Method.invoke(Method.java:606)
        at io.cloudslang.worker.execution.reflection.ReflectionAdapterImpl.executeControlAction(ReflectionAdapterImpl.java:62)
        ... 10 more
Caused by: java.lang.RuntimeException: Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1
        at io.cloudslang.lang.runtime.navigations.Navigations.navigate(Navigations.java:44)
        ... 14 more
2015-04-22 07:54:32:622 628918 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: SCORE_ERROR_EVENT Data is: {systemContext={BEGIN_STEPS_MAP={io.cloudslang.docker.maintenance.diskspace_health_check=1, io.cloudslang.docker.images.inspect_image=1, io.cloudslang.base.strings.string_equals=1, io.cloudslang.coreos.list_machines_public_ip=1, io.cloudslang.docker.images.clear_docker_images_flow=1, io.cloudslang.coreos.get_machine_public_ip=1, io.cloudslang.docker.images.clear_docker_images=1, io.cloudslang.docker.images.clear_docker_dangling_images_flow=1, io.cloudslang.coreos.list_machines_id=1, io.cloudslang.base.lists.subtract_sets=1, io.cloudslang.docker.images.get_used_images_flow=1, io.cloudslang.docker.images.get_all_images=1, io.cloudslang.docker.images.get_used_images=1, io.cloudslang.base.os.linux.check_linux_disk_space=1, io.cloudslang.docker.images.get_image_name_from_id=1, io.cloudslang.docker.utils.parse_inspect_for_parent=1, io.cloudslang.docker.images.get_image_parent=1, io.cloudslang.coreos.cluster_docker_images_maintenance=1, io.cloudslang.docker.images.get_dangling_images=1, io.cloudslang.base.comparisons.less_than_percentage=1, io.cloudslang.docker.images.clear_unused_docker_images=1, io.cloudslang.base.os.linux.validate_linux_machine_ssh_access=1, io.cloudslang.docker.maintenance.docker_images_maintenance=1}, executionIdContext=101600008, SCORE_EVENTS_QUEUE=[io.cloudslang.score.events.ScoreEvent@4db739a1, io.cloudslang.score.events.ScoreEvent@3828a0e3], FLOW_TERMINATION_TYPE=SYSTEM_FAILURE, EXECUTION_STEP_ERROR_KEY=Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1, RUNNING_PLANS_MAP={io.cloudslang.docker.maintenance.diskspace_health_check=100600002, io.cloudslang.docker.images.inspect_image=100600001, io.cloudslang.base.strings.string_equals=100600003, io.cloudslang.coreos.list_machines_public_ip=100600004, io.cloudslang.docker.images.clear_docker_images_flow=100600005, io.cloudslang.coreos.get_machine_public_ip=100600006, io.cloudslang.docker.images.clear_docker_images=100600008, io.cloudslang.docker.images.clear_docker_dangling_images_flow=100600007, io.cloudslang.coreos.list_machines_id=100600010, io.cloudslang.base.lists.subtract_sets=100600009, io.cloudslang.docker.images.get_used_images_flow=100600012, io.cloudslang.docker.images.get_all_images=100600011, io.cloudslang.docker.images.get_used_images=100600013, io.cloudslang.base.os.linux.check_linux_disk_space=100600014, io.cloudslang.docker.images.get_image_name_from_id=100600015, io.cloudslang.docker.utils.parse_inspect_for_parent=100600016, io.cloudslang.docker.images.get_image_parent=100600017, io.cloudslang.coreos.cluster_docker_images_maintenance=100600023, io.cloudslang.docker.images.get_dangling_images=100600018, io.cloudslang.base.comparisons.less_than_percentage=100600019, io.cloudslang.docker.images.clear_unused_docker_images=100600020, io.cloudslang.base.os.linux.validate_linux_machine_ssh_access=100600021, io.cloudslang.docker.maintenance.docker_images_maintenance=100600022}}, error_message=Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1, SCORE_ERROR_TYPE=STEP_NAV_ERROR, logMessage=Error occurred during navigation execution }
2015-04-22 07:54:32:623 628919 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: EVENT_OUTPUT_START Data is: {EXECUTIONID=101600008, executableResults=[io.cloudslang.lang.entities.bindings.Result@735ab3e2[name=SUCCESS,expression=<null>], io.cloudslang.lang.entities.bindings.Result@47d7f598[name=FAILURE,expression=<null>]], DESCRIPTION=Output binding started, executableOutputs=[io.cloudslang.lang.entities.bindings.Output@333cf301[name=images_list_safe_to_delete,expression=images_list_safe_to_delete], io.cloudslang.lang.entities.bindings.Output@6675e0ee[name=amount_of_images_deleted,expression=0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images], io.cloudslang.lang.entities.bindings.Output@45025dcf[name=used_images_list,expression=used_images_list], io.cloudslang.lang.entities.bindings.Output@1e5ce46e[name=all_parent_images,expression=0 if 'all_parent_images' not in locals() else all_parent_images]], PATH=0/2/0/2/0/1/0, EXECUTABLE_NAME=clear_docker_images_flow, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, actionReturnValues=ReturnValues{result='FAILURE', outputs={all_images_list=, docker_username=core, used_images_list=null, private_key_file=/root/cloudslang-coreos, all_parent_images=, timeout=6000000, docker_password=, docker_host=188.166.102.7}}, TYPE=EVENT_OUTPUT_START}
2015-04-22 07:54:32:623 628919 [WorkerExecutionThread-1_101600008] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: SLANG_EXECUTION_EXCEPTION Data is: {EXECUTIONID=101600008, DESCRIPTION=Error detected during step, PATH=0/2/0/2/0/1/0, TIMESTAMP=Wed Apr 22 07:54:32 EDT 2015, TYPE=SLANG_EXECUTION_EXCEPTION, EXCEPTION=Error running: 'clear_docker_images_flow'.
        Error binding output: 'amount_of_images_deleted',
        Error is: Error in running script expression or variable reference, for expression: '0 if 'images_list_safe_to_delete' in locals() and images_list_safe_to_delete == '' else amount_of_images',
        Script exception is: javax.script.ScriptException: NameError: name 'amount_of_images' is not defined in <script> at line number 1}
2015-04-22 07:54:33:023 629319 [scoreWorkerScheduler-2] INFO  io.cloudslang.lang.cli.SlangCLI  - Event received: SCORE_FINISHED_EVENT Data is: {EXECUTION_CONTEXT={runEnv=io.cloudslang.lang.runtime.env.RunEnvironment@76647f34, userInputs={}}, systemContext=io.cloudslang.score.lang.SystemContext@66c86cdb, executionIdContext=101600008, IS_BRANCH=false}
2015-04-22 07:54:56:029 652325 [Thread-1] INFO  org.springframework.context.support.GenericApplicationContext  - Closing org.springframework.context.support.GenericApplicationContext@40b35cf0: startup date [Wed Apr 22 07:44:06 EDT 2015]; root of context hierarchy
2015-04-22 07:54:56:034 652330 [Thread-1] INFO  io.cloudslang.worker.management.services.WorkerManager  - The worker is down
2015-04-22 07:54:56:039 652335 [Thread-1] INFO  org.springframework.context.support.DefaultLifecycleProcessor  - Stopping beans in phase 1
2015-04-22 07:54:56:050 652346 [scoreWorkerScheduler-1] WARN  io.cloudslang.worker.management.services.OutboundBufferImpl  - Drain outgoing buffer was interrupted while waiting for messages on the buffer
2015-04-22 07:54:56:056 652352 [Thread-1] INFO  org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler  - Shutting down ExecutorService 'scoreWorkerScheduler'
2015-04-22 07:54:56:071 652367 [Thread-1] INFO  org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler  - Shutting down ExecutorService 'scoreOrchestratorScheduler'
2015-04-22 07:54:56:096 652392 [Thread-1] INFO  org.springframework.orm.jpa.LocalContainerEntityManagerFactoryBean  - Closing JPA EntityManagerFactory for persistence unit 'default'
root@ubuntu-cloudslang:~/cslang/cslang/bin#

content outputs check

Some of the flows written contain outputs that get their value from an evaluated expression which contains step outputs.
After a score-language update, this error is thrown if the step outputs don't exist
slangerror

Example:
Flow A contains 2 subflows as steps.
Flow A's output is evaluated from the step outputs of the second subflow.
Flow A gets executed with an input so that step 2 doesn't get executed anymore.
The error is thrown since the flow output can't be evaluated.

Comments from proofing docker folder

  • general
    • file naming: inconsistent as to whether folder name is assumed or not (e.g. get_all_images vs. clear_docker_images)
    • optional parameter with default: inconsistent as to whether required: false is also present
    • some flows do not have explicitly declared and documented results
  • docker
    • images
      • unlike other folders, contains operations and flows with the same name except flow has the word "flow" appended
    • maintenance: should this be renamed to "mysql"
      • diskspace_health_check : should this be in the linux folder?
      • check_mysql_is_up: shouldn't command be overridable: false

Check base

Ensure that all content is working. (all cases, input errors etc.)

Content problems encountered when reviewing comments in base, consul and coreos folders

  • general comments
    • inconsitent in whether input type error checking is present or whether the types are assumed to be correct
  • base
    • comparisons
      • less_than_percentage
        • failure result not working in error condition
    • files - message = sys.exc_info()[0] does not give usable information
      • copy
        • failure case has message of copying done successfully
      • delete
        • Succes message is - source + ' was removed'
      • read_from_file
        • uses stringified booleans
      • write_to_file
        • uses stringified booleans
        • prints message instead of using an output
      • zip/unzip
        • input usage is inconsistent - archive_name is the file name in one and the full path in the other
        • maybe default output to the same directory as the input
    • network
      • rest
        • http_client_action
          • move method input up to top under url?
      • verif_app_is_up
        • result is testing stringified version of boolean
    • strings
      • match_regex
        • uses stringified booleans
      • string_occurrence_counter
        • results not working due to usage of stringified int
    • utils
      • random_number_generator
        • failure result not working in error condition
  • consul
    • parse_key
      • uses stringified ints

Issue with CoreOS Image clean flow

when we run the flow we get :
2015/04/13 13:46:27 INFO client.go:291: Failed getting response from http://127.0.0.1:4001/: dial tcp 127.0.0.1:4001: connection refused
2015/04/13 13:46:27 ERROR client.go:213: Unable to get result for {Get /_coreos.com/fleet/machines}, retrying in 1s
Error retrieving list of active machines: timeout reached

Check coreos

Ensure that all content is working. (all cases, input errors etc.)

Check marathon

Ensure that all content is working. (all cases, input errors etc.)

Ping hosts navigation and inputs

Navigation for up/down only takes into account the last iteration.

The following inputs should be overridable: false

  • message_body: []
  • all_nodes_are_up: True

Content result checks

After an update to score-language I noticed less_than_percentage operation kept throwing this error:

"Command failed java.lang.RuntimeException: Slang Error : Error running: 'less_than_percent
age': No possible result was resolved"

The solution was changing the results to check any output not just strings.
All content must be checked to be sure everything works.

Check consul

Ensure that all content is working. (all cases, input errors etc.)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.