c0177_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 -> c0177
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/c0177
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc000151080)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"env": "dev",
"person": {
"age": 18,
"name": "tom",
"sex": "male"
}
})
(*core.Cache)(0xc00000e918)((len=2) {
(string) (len=6) "person": (map[string]interface {}) (len=3) {
(string) (len=3) "age": (int) 18,
(string) (len=4) "name": (string) (len=3) "tom",
(string) (len=3) "sex": (string) (len=4) "male"
},
(string) (len=3) "env": (string) (len=3) "dev"
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"person": {
"age": 18,
"name": "tom",
"sex": "male"
},
"env": "dev"
})
located task-> 1 [task]:
Task1: [task ==> task: this is a story about tom
]
Executing task stack layer: 1
-Step1: [
tom is male
]
{
Name: "",
Do: {
{
"name": "print",
"desc": "his age is {{.person.age}}\nhe is in school: {{.school}}\n?continue: {{.continue}}\n",
"cmd": "what gender is {{.person.name}}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: {
"school": "sydney grammar"
},
Dvars: {
{
Name: "continue",
Value: "N",
Desc: "Are you sure ? all items in {{.env}} infrastructure will be destroyed ! (yes/N)",
Expand: 0,
Flags: {
"prompt"
},
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "{{.person.name}} is {{.person.sex}}\n",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"school": "sydney grammar",
"person": {
"name": "tom",
"sex": "male",
"age": 18
},
"env": "dev",
"up_runtime_task_layer_number": 0
})
Enter Value For [continue]:
Are you sure ? all items in dev infrastructure will be destroyed ! (yes/N)
[local] dvar expanded result:
{
"continue": "N"
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"school": "sydney grammar",
"continue": "N",
"person": {
"name": "tom",
"sex": "male",
"age": 18
},
"env": "dev"
}
self: final context exec vars:
(*core.Cache)({
"env": "dev",
"up_runtime_task_layer_number": 0,
"school": "sydney grammar",
"continue": "N",
"person": {
"name": "tom",
"sex": "male",
"age": 18
}
})
what gender is {{.person.name}}
~SubStep1: [print: his age is 18
he is in school: sydney grammar
?continue: N
]
what gender is tom
Logs with different verbose level
References