f0171_vvvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> f0171
Verbose -> vvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvv
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/f0171
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
-------runtime global final merged with dvars-------
(*core.Cache)({
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1: [
task fails
]
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo "open a file ....."
cmd=>:
echo "open a file ....."
-
open a file .....
-
.. ok
cmd( 2):
echo "reading the file" |grep "cause an exception"
cmd=>:
echo "reading the file" |grep "cause an exception"
-
-
.. failed(suppressed if it is not the last step)
Step Finally:
located task-> 2 [close_file]:
=Task2: [task ==> close_file: ]
Executing task stack layer: 2
--Step1: [
close_fileensure the opened file is closed
]
current exec runtime vars:
(*core.Cache)({
"up_runtime_shell_exec_result": (*utils.ExecResult)({
Cmd: "echo \"reading the file\" |grep \"cause an exception\"",
Code: 1,
Output: "",
ErrMsg: "exit status 1"
}),
"up_runtime_task_layer_number": 1
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_shell_exec_result": (*utils.ExecResult)({
Cmd: "echo \"reading the file\" |grep \"cause an exception\"",
Code: 1,
Output: "",
ErrMsg: "exit status 1"
}),
"up_runtime_task_layer_number": 1
})
cmd( 1):
echo "close the file ....."
cmd=>:
echo "close the file ....."
-
close the file .....
-
.. ok
. ok
WARN: [Not rescued in task level] - [please assess the panic problem and cause, fix it before re-run the task]
task finally -> ERROR: Failed And Not Ignored! [You may want to continue and ignore the error]
Logs with different verbose level
References