c0025_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 -> c0025
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/c0025
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc00000c480)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
}
})
(*core.Cache)(0xc00000e130)((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:
{
"a_smart_guy": "name: \"Tom\"\nsex: \"Male\"\nschool: \"Sydney Grammar\"\n"
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"a_smart_guy": "name: \"Tom\"\nsex: \"Male\"\nschool: \"Sydney Grammar\"\n"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
"echo \"\"\"a smart guy=>{{.a_smart_guy}}\"\"\""
},
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)({
"a_smart_guy": "name: \"Tom\"\nsex: \"Male\"\nschool: \"Sydney Grammar\"\n",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"up_runtime_task_layer_number": 0,
"a_smart_guy": "name: \"Tom\"\nsex: \"Male\"\nschool: \"Sydney Grammar\"\n"
}
self: final context exec vars:
(*core.Cache)({
"a_smart_guy": "name: \"Tom\"\nsex: \"Male\"\nschool: \"Sydney Grammar\"\n",
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo """a smart guy=>{{.a_smart_guy}}"""
cmd=>:
echo """a smart guy=>name: "Tom"
sex: "Male"
school: "Sydney Grammar"
"""
-
a smart guy=>name: Tom
sex: Male
school: Sydney Grammar
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=73) "echo \"\"\"a smart guy=>name: \"Tom\"\nsex: \"Male\"\nschool: \"Sydney Grammar\"\n\"\"\"",
Code: (int) 0,
Output: (string) (len=55) "a smart guy=>name: Tom\nsex: Male\nschool: Sydney Grammar",
ErrMsg: (string) ""
}
. ok
Logs with different verbose level
References