c0041_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 -> c0041
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/c0041
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: test the exit scenarios due to different types of validation ]
Executing task stack layer: 1
-Step1: [: step1 ]
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 hello
cmd=>:
echo hello
-
hello
-
.. ok
cmd( 2):
echo world
cmd=>:
echo world
-
world
-
.. ok
. ok
-Step2: [: step2 ]
current exec runtime vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "echo world",
Code: 0,
Output: "world",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0
})
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "echo world",
Code: 0,
Output: "world",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo tom
cmd=>:
echo tom
-
tom
-
.. ok
cmd( 2):
echo "{{.last_result.Code}}"
cmd=>:
echo "0"
-
0
-
.. ok
cmd( 3):
echo "{{.last_result.Output}}"
cmd=>:
echo "world"
-
world
-
.. ok
cmd( 4):
echo hanks
cmd=>:
echo hanks
-
hanks
-
.. ok
. ok
-Step3: [: step3 ]
current exec runtime vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "echo hanks",
Code: 0,
Output: "hanks",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0
})
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "echo hanks",
Code: 0,
Output: "hanks",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0,
"greet": "hello: hanks\n"
})
cmd( 1):
echo tom
cmd=>:
echo tom
-
tom
-
.. ok
cmd( 2):
echo "{{.last_result.Output}}"
cmd=>:
echo "hanks"
-
hanks
-
.. ok
cmd( 3):
echo hanks
cmd=>:
echo hanks
-
hanks
-
.. ok
cmd( 4):
echo "{{.greet}}"
cmd=>:
echo "hello: hanks
"
-
hello: hanks
-
.. ok
. ok
Logs with different verbose level
References