c0022_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 -> c0022
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/c0022
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc0001c0fa0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
(*core.Cache)(0xc00000e8e8)({
})
[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: {
"echo \"\"\"{{.info}}\"\"\"\n"
},
Dox: <nil>,
Func: "shell",
Vars: {
"school": "Sydney Grammar",
"info": "my student: {{.student}}\nstudent's gender: {{.gender}}\nschool's name: {{.school}}\n",
"student": "Tom",
"gender": "Male"
},
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)({
"info": "my student: {{.student}}\nstudent's gender: {{.gender}}\nschool's name: {{.school}}\n",
"up_runtime_task_layer_number": 0,
"student": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"school": "Sydney Grammar",
"info": "my student: {{.student}}\nstudent's gender: {{.gender}}\nschool's name: {{.school}}\n",
"up_runtime_task_layer_number": 0,
"student": "Tom",
"gender": "Male"
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"student": "Tom",
"gender": "Male",
"school": "Sydney Grammar",
"info": "my student: {{.student}}\nstudent's gender: {{.gender}}\nschool's name: {{.school}}\n"
})
cmd( 1):
echo """{{.info}}"""
cmd=>:
echo """my student: {{.student}}
student's gender: {{.gender}}
school's name: {{.school}}
"""
-
my student: {{.student}}
student's gender: {{.gender}}
school's name: {{.school}}
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=94) "echo \"\"\"my student: {{.student}}\nstudent's gender: {{.gender}}\nschool's name: {{.school}}\n\"\"\"\n",
Code: (int) 0,
Output: (string) (len=81) "my student: {{.student}}\nstudent's gender: {{.gender}}\nschool's name: {{.school}}",
ErrMsg: (string) ""
}
. ok
Logs with different verbose level
References