c0093_vvvvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0093
Verbose -> vvvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvvv
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0093
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc0001750e0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
(*core.Cache)(0xc0000b68e8)({
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
"{{.person.name}}_action"
},
Dox: <nil>,
Func: "call",
Vars: {
"person": {
"name": "tom",
"age": 23
}
},
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "{{gt .person.age 20}}",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"person": {
"name": "tom",
"age": 23
}
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"person": {
"age": 23,
"name": "tom"
}
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"person": {
"name": "tom",
"age": 23
}
})
caller's vars to task (tom_action)::
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"person": {
"name": "tom",
"age": 23
}
})
located task-> 2 [tom_action]:
=Task2: [task ==> tom_action: ]
Executing task stack layer: 2
--Step1:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "hello {{.person.name}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"person": {
"name": "tom",
"age": 23
}
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 1,
"person": {
"name": "tom",
"age": 23
}
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"person": {
"age": 23,
"name": "tom"
}
})
hello {{.person.name}}
~~SubStep1: [print: ]
hello tom
Logs with different verbose level
References