c0103_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 -> c0103
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/c0103
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc00000c460)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"emily": "emily:\n sex: female\n age: 32\n",
"tom": "tom:\n sex: male\n age: 23\n"
})
(*core.Cache)(0xc00000e100)((len=2) {
(string) (len=5) "emily": (string) (len=31) "emily:\n sex: female\n age: 32\n",
(string) (len=3) "tom": (string) (len=27) "tom:\n sex: male\n age: 23\n"
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"emily": "emily:\n sex: female\n age: 32\n",
"tom": "tom:\n sex: male\n age: 23\n"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1: [: inplace modification ]
{
Name: "",
Do: {
{
"name": "ymlWrite",
"cmd": {
"ymlstr": "{{.tom}}",
"path": "tom.sex",
"value": "female",
"verbose": "v",
"reg": "tomyml"
}
},
{
"cmd": "{{.tomyml }}",
"name": "print"
},
{
"name": "ymlWrite",
"cmd": {
"ymlstr": "{{.tomyml}}",
"path": "tom.wife",
"nodevalue": "{{.emily}}",
"verbose": "vvvv",
"reg": "tomyml"
}
},
{
"name": "print",
"cmd": "{{.tomyml }}"
}
},
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: <nil>,
Desc: "inplace modification",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"tom": "tom:\n sex: male\n age: 23\n",
"emily": "emily:\n sex: female\n age: 32\n",
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"tom": "tom:\n sex: male\n age: 23\n",
"emily": "emily:\n sex: female\n age: 32\n"
}
self: final context exec vars:
(*core.Cache)({
"tom": "tom:\n sex: male\n age: 23\n",
"emily": "emily:\n sex: female\n age: 32\n",
"up_runtime_task_layer_number": 0
})
map[path:tom.sex reg:tomyml value:female verbose:v ymlstr:{{.tom}}]
~SubStep1: [ymlWrite: ]
yml modified:
"tom:\n sex: female\n age: 23\n"
{{.tomyml }}
~SubStep2: [print: ]
tom:
sex: female
age: 23
map[nodevalue:{{.emily}} path:tom.wife reg:tomyml verbose:vvvv ymlstr:{{.tomyml}}]
~SubStep3: [ymlWrite: ]
yml modified:
"tom:\n sex: female\n age: 23\n wife:\n emily:\n sex: female\n age: 32\n"
{{.tomyml }}
~SubStep4: [print: ]
tom:
sex: female
age: 23
wife:
emily:
sex: female
age: 32
Logs with different verbose level
References