Skip to content

Instantly share code, notes, and snippets.

@tbatchelli
Created May 24, 2013 03:50
Show Gist options
  • Save tbatchelli/5641178 to your computer and use it in GitHub Desktop.
Save tbatchelli/5641178 to your computer and use it in GitHub Desktop.
session-results> (e-s r)
phases invoked: first, second
groups invoked: bad, good
phases:
phase first:
group bad:
node 192.168.56.123:
action #1
script:
| #!/usr/bin/env bash
| # session_results.clj:23
| echo first!
| exit $?
exit: 0
output:
| first!
node 192.168.56.122:
action #1
script:
| #!/usr/bin/env bash
| # session_results.clj:23
| echo first!
| exit $?
exit: 0
output:
| first!
group good:
node 192.168.56.124:
action #1
script:
| #!/usr/bin/env bash
| # session_results.clj:12
| echo first!
| exit $?
exit: 0
output:
| first!
node 192.168.56.125:
action #1
script:
| #!/usr/bin/env bash
| # session_results.clj:12
| echo first!
| exit $?
exit: 0
output:
| first!
phase second:
group bad:
node 192.168.56.122:
action #1
script:
| #!/usr/bin/env bash
| hello
| # session_results.clj:27
| echo hello world!
|
| exit $?
exit: 0
output:
| palletcimhW: line 2: hello: command not found
| hello world!
action #2
script:
| #!/usr/bin/env bash
| echo 'fail! (session_results.clj:28)...';
| {
| # session_results.clj:30
| exit -1
| } || { echo '#> fail! (session_results.clj:28) : FAIL'; exit 1;} >&2
| echo '#> fail! (session_results.clj:28) : SUCCESS'
|
| exit $?
exit: 255
output:
| fail! (session_results.clj:28)...
ERROR!:
type: :pallet-script-excution-error
message: 192.168.56.122 Error executing script
output: fail! (session_results.clj:28)...
node 192.168.56.123:
action #1
script:
| #!/usr/bin/env bash
| hello
| # session_results.clj:27
| echo hello world!
|
| exit $?
exit: 0
output:
| palletxMJgR: line 2: hello: command not found
| hello world!
action #2
script:
| #!/usr/bin/env bash
| echo 'fail! (session_results.clj:28)...';
| {
| # session_results.clj:30
| exit -1
| } || { echo '#> fail! (session_results.clj:28) : FAIL'; exit 1;} >&2
| echo '#> fail! (session_results.clj:28) : SUCCESS'
|
| exit $?
exit: 255
output:
| fail! (session_results.clj:28)...
ERROR!:
type: :pallet-script-excution-error
message: 192.168.56.123 Error executing script
output: fail! (session_results.clj:28)...
group good:
node 192.168.56.125:
action #1
script:
| #!/usr/bin/env bash
| echo 'say hello! (session_results.clj:14)...';
| {
| # session_results.clj:16
| echo hello world!
| } || { echo '#> say hello! (session_results.clj:14) : FAIL'; exit 1;} >&2
| echo '#> say hello! (session_results.clj:14) : SUCCESS'
|
| exit $?
exit: 0
output:
| say hello! (session_results.clj:14)...
| hello world!
| #> say hello! (session_results.clj:14) : SUCCESS
node 192.168.56.124:
action #1
script:
| #!/usr/bin/env bash
| echo 'say hello! (session_results.clj:14)...';
| {
| # session_results.clj:16
| echo hello world!
| } || { echo '#> say hello! (session_results.clj:14) : FAIL'; exit 1;} >&2
| echo '#> say hello! (session_results.clj:14) : SUCCESS'
|
| exit $?
exit: 0
output:
| say hello! (session_results.clj:14)...
| hello world!
| #> say hello! (session_results.clj:14) : SUCCESS
nil
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment