c0169_vvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0169
Verbose -> vvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0169
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
Task1: [task ==> task: ]
-Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo "hello, world"
WARN: [explicit timeout:] - [500 milli seconds]
-
hello, world
-
.. ok
cmd( 2):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 3):
echo "hello, world"
WARN: [explicit timeout:] - [500 milli seconds]
-
hello, world
-
.. ok
. ok
-Step3: [
an example of retry
it tries to ping 4 times with a timeout of 2 seconds every time
]
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "echo \"hello, world\"",
Code: 0,
Output: "hello, world",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step4: [
an example of retry
it tries to ping 4 times with a timeout of 2 seconds every time
with every attemp it puts a delay of 2 seconds
]
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"up_runtime_task_layer_number": 0
})
-Step1:
self: final context exec vars:
(*core.Cache)({
"loopitem": "retry1",
"loopindex": 0,
"loopindex1": 1,
"up_runtime_task_layer_number": 0
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"loopitem": "retry1",
"loopindex": 0,
"loopindex1": 1,
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"up_runtime_task_layer_number": 0
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
-Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"loopitem": "retry2",
"loopindex": 1,
"loopindex1": 2
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"up_runtime_task_layer_number": 0,
"loopindex1": 2,
"loopitem": "retry2",
"loopindex": 1
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
-Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"loopitem": "retry3",
"loopindex": 2,
"loopindex1": 3
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"up_runtime_task_layer_number": 0,
"loopitem": "retry3",
"loopindex": 2,
"loopindex1": 3
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
-Step1:
self: final context exec vars:
(*core.Cache)({
"loopindex1": 4,
"up_runtime_task_layer_number": 0,
"loopitem": "retry4",
"loopindex": 3
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"up_runtime_task_layer_number": 0,
"loopindex1": 4,
"loopitem": "retry4",
"loopindex": 3
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
-Step5: [
loop with customised range
]
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"up_runtime_task_layer_number": 0
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step6: [
an example of retry
it tries to ping 4 times with a timeout of 2 seconds every time
with every attemp it puts a delay of 2 seconds
it also uses dynamic loopRange instead of prepared list of value
]
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"myretry": {
100,
101,
102,
103,
104,
105
},
"up_runtime_task_layer_number": 0
})
-Step1:
self: final context exec vars:
(*core.Cache)({
"loopindex1": 1,
"loopitem": 100,
"myretry": {
100,
101,
102,
103
},
"up_runtime_task_layer_number": 0,
"loopindex": 0
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"myretry": {
100,
101,
102,
103
},
"up_runtime_task_layer_number": 0,
"loopitem": 100,
"loopindex": 0,
"loopindex1": 1,
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
})
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
-Step1:
self: final context exec vars:
(*core.Cache)({
"loopitem": 101,
"loopindex": 1,
"loopindex1": 2,
"myretry": {
100,
101,
102,
103
},
"up_runtime_task_layer_number": 0
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"myretry": {
100,
101,
102,
103
},
"up_runtime_task_layer_number": 0,
"loopindex1": 2,
"loopitem": 101,
"loopindex": 1
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
-Step1:
self: final context exec vars:
(*core.Cache)({
"myretry": {
100,
101,
102,
103
},
"up_runtime_task_layer_number": 0,
"loopindex1": 3,
"loopitem": 102,
"loopindex": 2
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"loopindex1": 3,
"loopitem": 102,
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"myretry": {
100,
101,
102,
103
},
"up_runtime_task_layer_number": 0,
"loopindex": 2
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
-Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"loopitem": 103,
"loopindex": 3,
"loopindex1": 4,
"myretry": {
100,
101,
102,
103
}
})
cmd( 1):
ping goole.com
WARN: [explicit timeout:] - [500 milli seconds]
-
PING goole.com (217.160.0.201): 56 data bytes
-
WARN: [timeout] - [shell execution timed out]
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step2:
self: final context exec vars:
(*core.Cache)({
"loopindex": 3,
"last_result": (*utils.ExecResult)({
Cmd: "ping goole.com",
Code: -1,
Output: "PING goole.com (217.160.0.201): 56 data bytes",
ErrMsg: "signal: killed"
}),
"myretry": {
100,
101,
102,
103
},
"up_runtime_task_layer_number": 0,
"loopindex1": 4,
"loopitem": 103
})
~SubStep1: [sleep: delay 2 seconds in each attemp ]
sleeping 200 milli seconds
..
Logs with different verbose level
References