c0098_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 -> c0098
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/c0098
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc0001e50e0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"nsw": {
"sydney": {
"sgschool": {
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
}
}
}
},
"aaa": "aaa",
"datapointer": "student",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
}
})
(*core.Cache)(0xc000126958)((len=4) {
(string) (len=11) "datapointer": (string) (len=7) "student",
(string) (len=7) "student": (map[string]interface {}) (len=3) {
(string) (len=4) "name": (string) (len=3) "Tom",
(string) (len=6) "gender": (string) (len=4) "Male",
(string) (len=6) "school": (string) (len=14) "Sydney Grammar"
},
(string) (len=3) "nsw": (map[string]interface {}) (len=1) {
(string) (len=6) "sydney": (map[string]interface {}) (len=1) {
(string) (len=8) "sgschool": (map[string]interface {}) (len=1) {
(string) (len=7) "student": (map[string]interface {}) (len=3) {
(string) (len=6) "gender": (string) (len=4) "Male",
(string) (len=6) "school": (string) (len=14) "Sydney Grammar",
(string) (len=4) "name": (string) (len=3) "Tom"
}
}
}
},
(string) (len=3) "aaa": (string) (len=3) "aaa"
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"nsw": {
"sydney": {
"sgschool": {
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
}
}
}
},
"aaa": "aaa",
"datapointer": "student",
"student": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
}
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1: [: use sub element of an var as context to render values ]
{
Name: "",
Do: {
{
"name": "print",
"cmd": "{{.student_info}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: {
{
Name: "student_info",
Value: "my name is:{{.name}} and I am in {{.school}}",
Desc: "",
Expand: 0,
Flags: {
"vvv"
},
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "nsw.sydney.sgschool.student",
DataTemplate: ""
}
},
Desc: "use sub element of an var as context to render values",
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": 0,
"datapointer": "student",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
"sgschool": {
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
}
}
}
},
"aaa": "aaa"
})
(string) (len=11) "sub yml str"
(string) (len=97) "sydney:\n sgschool:\n student:\n gender: Male\n name: Tom\n school: Sydney Grammar\n"
dvar> student_info:
"my name is:<no value> and I am in <no value>"
-
my name is:<no value> and I am in <no value>
[local] dvar expanded result:
{
"student_info": "my name is:<no value> and I am in <no value>"
}
scope[local] merged: {
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"nsw": {
"sydney": {
"sgschool": {
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
}
}
}
},
"aaa": "aaa",
"up_runtime_task_layer_number": 0,
"student_info": "my name is:<no value> and I am in <no value>",
"datapointer": "student"
}
self: final context exec vars:
(*core.Cache)({
"datapointer": "student",
"student": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"nsw": {
"sydney": {
"sgschool": {
"student": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
}
}
}
},
"aaa": "aaa",
"up_runtime_task_layer_number": 0,
"student_info": "my name is:<no value> and I am in <no value>"
})
{{.student_info}}
~SubStep1: [print: ]
my name is:<no value> and I am in <no value>
Logs with different verbose level
References