c0024_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 -> c0024
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/c0024
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc00000c4c0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
}
})
(*core.Cache)(0xc00000e128)((len=1) {
(string) (len=7) "student": (map[string]interface {}) (len=3) {
(string) (len=6) "school": (string) (len=14) "Sydney Grammar",
(string) (len=4) "name": (string) (len=3) "Tom",
(string) (len=6) "gender": (string) (len=4) "Male"
}
})
[runtime global] dvar expanded result:
{
"studentname": "Tom",
"studentgender": "Male"
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"studentname": "Tom",
"studentgender": "Male"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
"echo \"student=>{{.student}}\"",
"echo \"name=>{{.studentname}}\"",
"echo \"gender=>{{.studentgender}}\"",
"echo \"school=>{{.student.school}}\""
},
Dox: <nil>,
Func: "shell",
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)({
"studentgender": "Male",
"up_runtime_task_layer_number": 0,
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"studentname": "Tom"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"studentgender": "Male",
"up_runtime_task_layer_number": 0,
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"studentname": "Tom"
}
self: final context exec vars:
(*core.Cache)({
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"studentname": "Tom",
"studentgender": "Male",
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo "student=>{{.student}}"
cmd=>:
echo "student=>map[gender:Male name:Tom school:Sydney Grammar]"
-
student=>map[gender:Male name:Tom school:Sydney Grammar]
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=63) "echo \"student=>map[gender:Male name:Tom school:Sydney Grammar]\"",
Code: (int) 0,
Output: (string) (len=56) "student=>map[gender:Male name:Tom school:Sydney Grammar]",
ErrMsg: (string) ""
}
cmd( 2):
echo "name=>{{.studentname}}"
cmd=>:
echo "name=>Tom"
-
name=>Tom
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=16) "echo \"name=>Tom\"",
Code: (int) 0,
Output: (string) (len=9) "name=>Tom",
ErrMsg: (string) ""
}
cmd( 3):
echo "gender=>{{.studentgender}}"
cmd=>:
echo "gender=>Male"
-
gender=>Male
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=19) "echo \"gender=>Male\"",
Code: (int) 0,
Output: (string) (len=12) "gender=>Male",
ErrMsg: (string) ""
}
cmd( 4):
echo "school=>{{.student.school}}"
cmd=>:
echo "school=>Sydney Grammar"
-
school=>Sydney Grammar
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=29) "echo \"school=>Sydney Grammar\"",
Code: (int) 0,
Output: (string) (len=22) "school=>Sydney Grammar",
ErrMsg: (string) ""
}
. ok
Logs with different verbose level
References