c0023_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 -> c0023
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/c0023
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc0001e7140)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"c3": "c3->{{.d4}}",
"d4": "d4->{{.student}}",
"student": "Tom",
"gender": "Male",
"school": "Sydney Grammar",
"a1": "a1->{{.b2}}",
"b2": "b2->{{.c3}}"
})
(*core.Cache)(0xc000126910)((len=7) {
(string) (len=2) "c3": (string) (len=11) "c3->{{.d4}}",
(string) (len=2) "d4": (string) (len=16) "d4->{{.student}}",
(string) (len=7) "student": (string) (len=3) "Tom",
(string) (len=6) "gender": (string) (len=4) "Male",
(string) (len=6) "school": (string) (len=14) "Sydney Grammar",
(string) (len=2) "a1": (string) (len=11) "a1->{{.b2}}",
(string) (len=2) "b2": (string) (len=11) "b2->{{.c3}}"
})
[runtime global] dvar expanded result:
{
"multple_render_var_level3_with_expand3": "multple-render-var-> b2->c3->d4->{{.student}}",
"from": "Sydney Grammar",
"sex": "Male",
"dependon_vars": "Male",
"dependon_var_and_dvar": "Tom-Male",
"multple_render_var_level3": "multple-render-var-> b2->{{.c3}}",
"multple_render_var_level3_with_expand2": "multple-render-var-> b2->c3->{{.d4}}",
"multple_render_var_level3_with_expand4": "multple-render-var-> b2->c3->d4->Tom",
"multple_render_var_level5": "multple-render-var-> a1->b2->c3->d4->Tom"
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"dependon_vars": "Male",
"multple_render_var_level3": "multple-render-var-> b2->{{.c3}}",
"multple_render_var_level3_with_expand2": "multple-render-var-> b2->c3->{{.d4}}",
"gender": "Male",
"a1": "a1->{{.b2}}",
"c3": "c3->{{.d4}}",
"b2": "b2->{{.c3}}",
"sex": "Male",
"multple_render_var_level3_with_expand3": "multple-render-var-> b2->c3->d4->{{.student}}",
"from": "Sydney Grammar",
"multple_render_var_level5": "multple-render-var-> a1->b2->c3->d4->Tom",
"d4": "d4->{{.student}}",
"dependon_var_and_dvar": "Tom-Male",
"student": "Tom",
"multple_render_var_level3_with_expand4": "multple-render-var-> b2->c3->d4->Tom",
"school": "Sydney Grammar"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
"echo \"student=>{{.student}}\"",
"echo \"a1=> a1->{{.b2}}\"",
"echo \"from->{{.from}}\"",
"echo \"sex->{{.sex}}\"",
"echo \"dependon_vars->{{.dependon_vars}}\"",
"echo \"dependon_var_and_dvar->{{.dependon_var_and_dvar}}\"",
"echo \"multple_render_var_level3->{{.multple_render_var_level3}}\"",
"echo \"multple_render_var_level4->{{.multple_render_var_level4}}\""
},
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)({
"gender": "Male",
"sex": "Male",
"up_runtime_task_layer_number": 0,
"multple_render_var_level3_with_expand2": "multple-render-var-> b2->c3->{{.d4}}",
"school": "Sydney Grammar",
"from": "Sydney Grammar",
"student": "Tom",
"multple_render_var_level3": "multple-render-var-> b2->{{.c3}}",
"multple_render_var_level3_with_expand4": "multple-render-var-> b2->c3->d4->Tom",
"c3": "c3->{{.d4}}",
"multple_render_var_level3_with_expand3": "multple-render-var-> b2->c3->d4->{{.student}}",
"b2": "b2->{{.c3}}",
"dependon_vars": "Male",
"dependon_var_and_dvar": "Tom-Male",
"multple_render_var_level5": "multple-render-var-> a1->b2->c3->d4->Tom",
"d4": "d4->{{.student}}",
"a1": "a1->{{.b2}}"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"a1": "a1->{{.b2}}",
"multple_render_var_level3_with_expand3": "multple-render-var-> b2->c3->d4->{{.student}}",
"dependon_vars": "Male",
"student": "Tom",
"multple_render_var_level3_with_expand2": "multple-render-var-> b2->c3->{{.d4}}",
"multple_render_var_level3_with_expand4": "multple-render-var-> b2->c3->d4->Tom",
"up_runtime_task_layer_number": 0,
"school": "Sydney Grammar",
"gender": "Male",
"multple_render_var_level3": "multple-render-var-> b2->{{.c3}}",
"sex": "Male",
"multple_render_var_level5": "multple-render-var-> a1->b2->c3->d4->Tom",
"d4": "d4->{{.student}}",
"dependon_var_and_dvar": "Tom-Male",
"from": "Sydney Grammar",
"b2": "b2->{{.c3}}",
"c3": "c3->{{.d4}}"
}
self: final context exec vars:
(*core.Cache)({
"dependon_vars": "Male",
"multple_render_var_level3": "multple-render-var-> b2->{{.c3}}",
"multple_render_var_level3_with_expand2": "multple-render-var-> b2->c3->{{.d4}}",
"dependon_var_and_dvar": "Tom-Male",
"school": "Sydney Grammar",
"gender": "Male",
"c3": "c3->{{.d4}}",
"from": "Sydney Grammar",
"d4": "d4->{{.student}}",
"multple_render_var_level3_with_expand4": "multple-render-var-> b2->c3->d4->Tom",
"up_runtime_task_layer_number": 0,
"b2": "b2->{{.c3}}",
"multple_render_var_level5": "multple-render-var-> a1->b2->c3->d4->Tom",
"student": "Tom",
"a1": "a1->{{.b2}}",
"sex": "Male",
"multple_render_var_level3_with_expand3": "multple-render-var-> b2->c3->d4->{{.student}}"
})
cmd( 1):
echo "student=>{{.student}}"
cmd=>:
echo "student=>Tom"
-
student=>Tom
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=19) "echo \"student=>Tom\"",
Code: (int) 0,
Output: (string) (len=12) "student=>Tom",
ErrMsg: (string) ""
}
cmd( 2):
echo "a1=> a1->{{.b2}}"
cmd=>:
echo "a1=> a1->b2->{{.c3}}"
-
a1=> a1->b2->{{.c3}}
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=27) "echo \"a1=> a1->b2->{{.c3}}\"",
Code: (int) 0,
Output: (string) (len=20) "a1=> a1->b2->{{.c3}}",
ErrMsg: (string) ""
}
cmd( 3):
echo "from->{{.from}}"
cmd=>:
echo "from->Sydney Grammar"
-
from->Sydney Grammar
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=27) "echo \"from->Sydney Grammar\"",
Code: (int) 0,
Output: (string) (len=20) "from->Sydney Grammar",
ErrMsg: (string) ""
}
cmd( 4):
echo "sex->{{.sex}}"
cmd=>:
echo "sex->Male"
-
sex->Male
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=16) "echo \"sex->Male\"",
Code: (int) 0,
Output: (string) (len=9) "sex->Male",
ErrMsg: (string) ""
}
cmd( 5):
echo "dependon_vars->{{.dependon_vars}}"
cmd=>:
echo "dependon_vars->Male"
-
dependon_vars->Male
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=26) "echo \"dependon_vars->Male\"",
Code: (int) 0,
Output: (string) (len=19) "dependon_vars->Male",
ErrMsg: (string) ""
}
cmd( 6):
echo "dependon_var_and_dvar->{{.dependon_var_and_dvar}}"
cmd=>:
echo "dependon_var_and_dvar->Tom-Male"
-
dependon_var_and_dvar->Tom-Male
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=38) "echo \"dependon_var_and_dvar->Tom-Male\"",
Code: (int) 0,
Output: (string) (len=31) "dependon_var_and_dvar->Tom-Male",
ErrMsg: (string) ""
}
cmd( 7):
echo "multple_render_var_level3->{{.multple_render_var_level3}}"
cmd=>:
echo "multple_render_var_level3->multple-render-var-> b2->{{.c3}}"
-
multple_render_var_level3->multple-render-var-> b2->{{.c3}}
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=66) "echo \"multple_render_var_level3->multple-render-var-> b2->{{.c3}}\"",
Code: (int) 0,
Output: (string) (len=59) "multple_render_var_level3->multple-render-var-> b2->{{.c3}}",
ErrMsg: (string) ""
}
cmd( 8):
echo "multple_render_var_level4->{{.multple_render_var_level4}}"
cmd=>:
echo "multple_render_var_level4-><no value>"
-
multple_render_var_level4-><no value>
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=44) "echo \"multple_render_var_level4-><no value>\"",
Code: (int) 0,
Output: (string) (len=37) "multple_render_var_level4-><no value>",
ErrMsg: (string) ""
}
. ok
Logs with different verbose level
References