c0110_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 -> c0110
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/c0110
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc0001754c0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
(*core.Cache)(0xc0000b6910)({
})
[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: {
"subtask1"
},
Dox: <nil>,
Func: "call",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: {
"tom",
"jerry",
"emily"
},
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
caller's vars to task (subtask1)::
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1
})
located task-> 2 [subtask1]:
=Task2: [task ==> subtask1: ]
Executing task stack layer: 2
--Step1:
{
Name: "",
Do: {
{
"cmd": "{{.loopindex1}}:{{.loopitem}}",
"name": "print"
}
},
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)({
"loopindex": 0,
"loopindex1": 1,
"up_runtime_task_layer_number": 1,
"loopitem": "tom"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"loopindex": 0,
"loopindex1": 1,
"up_runtime_task_layer_number": 1,
"loopitem": "tom"
}
self: final context exec vars:
(*core.Cache)({
"loopindex": 0,
"loopindex1": 1,
"up_runtime_task_layer_number": 1,
"loopitem": "tom"
})
{{.loopindex1}}:{{.loopitem}}
~~SubStep1: [print: ]
1:tom
--Step2:
{
Name: "",
Do: {
{
"name": "assert",
"cmd": {
"{{eq .loopitem \"tom\"}}"
}
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "{{eq .loopindex1 1}}",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1,
"up_runtime_task_layer_number": 1
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 1,
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1
})
[{{eq .loopitem "tom"}}]
~~SubStep1: [assert: ]
1 ASSERT OK: [{{eq .loopitem "tom"}}]
--Step3:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.person}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: {
"person": "{{.loopitem}}"
},
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)({
"person": "{{.loopitem}}",
"up_runtime_task_layer_number": 1,
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"person": "{{.loopitem}}",
"up_runtime_task_layer_number": 1,
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1
}
self: final context exec vars:
(*core.Cache)({
"person": "{{.loopitem}}",
"up_runtime_task_layer_number": 1,
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1
})
{{.person}}
~~SubStep1: [print: ]
{{.loopitem}}
--Step4:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.theone}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: {
{
Name: "theone",
Value: "{{.loopitem}}",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"loopindex1": 1,
"up_runtime_task_layer_number": 1,
"loopitem": "tom",
"loopindex": 0
})
[local] dvar expanded result:
{
"theone": "tom"
}
scope[local] merged: {
"up_runtime_task_layer_number": 1,
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1,
"theone": "tom"
}
self: final context exec vars:
(*core.Cache)({
"theone": "tom",
"loopitem": "tom",
"loopindex": 0,
"loopindex1": 1,
"up_runtime_task_layer_number": 1
})
{{.theone}}
~~SubStep1: [print: ]
tom
caller's vars to task (subtask1)::
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"loopitem": "jerry",
"loopindex": 1,
"loopindex1": 2
})
located task-> 2 [subtask1]:
=Task2: [task ==> subtask1: ]
Executing task stack layer: 2
--Step1:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.loopindex1}}:{{.loopitem}}"
}
},
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)({
"loopindex": 1,
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"loopitem": "jerry"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 1,
"loopitem": "jerry",
"loopindex": 1,
"loopindex1": 2
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"loopitem": "jerry",
"loopindex": 1,
"loopindex1": 2
})
{{.loopindex1}}:{{.loopitem}}
~~SubStep1: [print: ]
2:jerry
--Step2:
{
Name: "",
Do: {
{
"name": "assert",
"cmd": {
"{{eq .loopitem \"tom\"}}"
}
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "{{eq .loopindex1 1}}",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"loopindex": 1,
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"loopitem": "jerry"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"loopitem": "jerry",
"loopindex": 1,
"loopindex1": 2,
"up_runtime_task_layer_number": 1
}
self: final context exec vars:
(*core.Cache)({
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"loopitem": "jerry",
"loopindex": 1
})
condition failed, skip executing step
--Step3:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.person}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: {
"person": "{{.loopitem}}"
},
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)({
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"loopitem": "jerry",
"loopindex": 1,
"person": "{{.loopitem}}"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"person": "{{.loopitem}}",
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"loopitem": "jerry",
"loopindex": 1
}
self: final context exec vars:
(*core.Cache)({
"loopindex": 1,
"person": "{{.loopitem}}",
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"loopitem": "jerry"
})
{{.person}}
~~SubStep1: [print: ]
{{.loopitem}}
--Step4:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.theone}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: {
{
Name: "theone",
Value: "{{.loopitem}}",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"loopitem": "jerry",
"loopindex": 1
})
[local] dvar expanded result:
{
"theone": "jerry"
}
scope[local] merged: {
"loopindex": 1,
"loopindex1": 2,
"up_runtime_task_layer_number": 1,
"theone": "jerry",
"loopitem": "jerry"
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"loopitem": "jerry",
"loopindex": 1,
"loopindex1": 2,
"theone": "jerry"
})
{{.theone}}
~~SubStep1: [print: ]
jerry
caller's vars to task (subtask1)::
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3
})
located task-> 2 [subtask1]:
=Task2: [task ==> subtask1: ]
Executing task stack layer: 2
--Step1:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.loopindex1}}:{{.loopitem}}"
}
},
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,
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 1,
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3
}
self: final context exec vars:
(*core.Cache)({
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3,
"up_runtime_task_layer_number": 1
})
{{.loopindex1}}:{{.loopitem}}
~~SubStep1: [print: ]
3:emily
--Step2:
{
Name: "",
Do: {
{
"name": "assert",
"cmd": {
"{{eq .loopitem \"tom\"}}"
}
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "{{eq .loopindex1 1}}",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3,
"up_runtime_task_layer_number": 1
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"loopindex": 2,
"loopindex1": 3,
"up_runtime_task_layer_number": 1,
"loopitem": "emily"
}
self: final context exec vars:
(*core.Cache)({
"loopindex1": 3,
"up_runtime_task_layer_number": 1,
"loopitem": "emily",
"loopindex": 2
})
condition failed, skip executing step
--Step3:
{
Name: "",
Do: {
{
"cmd": "{{.person}}",
"name": "print"
}
},
Dox: <nil>,
Func: "cmd",
Vars: {
"person": "{{.loopitem}}"
},
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)({
"loopindex": 2,
"loopindex1": 3,
"person": "{{.loopitem}}",
"up_runtime_task_layer_number": 1,
"loopitem": "emily"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"loopindex": 2,
"loopindex1": 3,
"person": "{{.loopitem}}",
"up_runtime_task_layer_number": 1,
"loopitem": "emily"
}
self: final context exec vars:
(*core.Cache)({
"person": "{{.loopitem}}",
"up_runtime_task_layer_number": 1,
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3
})
{{.person}}
~~SubStep1: [print: ]
{{.loopitem}}
--Step4:
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.theone}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: {
{
Name: "theone",
Value: "{{.loopitem}}",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3,
"up_runtime_task_layer_number": 1
})
[local] dvar expanded result:
{
"theone": "emily"
}
scope[local] merged: {
"loopitem": "emily",
"loopindex": 2,
"loopindex1": 3,
"up_runtime_task_layer_number": 1,
"theone": "emily"
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"loopitem": "emily",
"theone": "emily",
"loopindex": 2,
"loopindex1": 3
})
{{.theone}}
~~SubStep1: [print: ]
emily
Logs with different verbose level
References