c0136_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 -> c0136
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/c0136
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc0001e5620)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"a": "global_aaa",
"b": "global_bbb",
"c": "global_ccc"
})
(*core.Cache)(0xc000126938)((len=3) {
(string) (len=1) "c": (string) (len=10) "global_ccc",
(string) (len=1) "a": (string) (len=10) "global_aaa",
(string) (len=1) "b": (string) (len=10) "global_bbb"
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
"c": "global_ccc",
"a": "global_aaa",
"b": "global_bbb"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
"callee_task1"
},
Dox: <nil>,
Func: "call",
Vars: {
"a": "local_aaa",
"b": "local_bbb"
},
Dvars: {
{
Name: "da",
Value: "local_da",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
},
{
Name: "db",
Value: "local_db",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"c": "global_ccc",
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 0
})
[local] dvar expanded result:
{
"da": "local_da",
"db": "local_db"
}
scope[local] merged: {
"db": "local_db",
"c": "global_ccc",
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 0,
"da": "local_da"
}
self: final context exec vars:
(*core.Cache)({
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 0,
"da": "local_da",
"db": "local_db",
"c": "global_ccc"
})
caller's vars to task (callee_task1)::
(*core.Cache)({
"da": "local_da",
"db": "local_db",
"c": "global_ccc",
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 0
})
located task-> 3 [callee_task1]:
=Task3: [task ==> callee_task1: ]
Executing task stack layer: 2
--Step1:
{
Name: "",
Do: {
"callee_task2"
},
Dox: <nil>,
Func: "call",
Vars: {
"b": "local_bbb_callee_task1",
"a": "local_aaa_callee_task1"
},
Dvars: {
{
Name: "da",
Value: "local_da_callee_task1",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
},
{
Name: "db",
Value: "local_db_callee_task1",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "",
Reg: "",
Flags: <nil>,
If: "",
Else: <nil>,
Loop: <nil>,
Until: "",
RefDir: "",
VarsFile: "",
Timeout: 0,
Finally: <nil>,
Rescue: false
}
current exec runtime vars:
(*core.Cache)({
"da": "local_da",
"db": "local_db",
"c": "global_ccc",
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 1
})
[local] dvar expanded result:
{
"da": "local_da_callee_task1",
"db": "local_db_callee_task1"
}
scope[local] merged: {
"c": "global_ccc",
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 1,
"da": "local_da_callee_task1",
"db": "local_db_callee_task1"
}
self: final context exec vars:
(*core.Cache)({
"db": "local_db_callee_task1",
"c": "global_ccc",
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 1,
"da": "local_da_callee_task1"
})
caller's vars to task (callee_task2)::
(*core.Cache)({
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 1,
"da": "local_da_callee_task1",
"db": "local_db_callee_task1",
"c": "global_ccc"
})
located task-> 2 [callee_task2]:
==Task2: [task/callee_task1 ==> callee_task2: ]
Executing task stack layer: 3
---Step1:
{
Name: "",
Do: {
{
"do": {
{
"name": "print",
"cmd": "a: {{.a}}\nb: {{.b}}\nc: {{.c}}\nda: {{.da}}\ndb: {{.db}}\n"
},
{
"name": "assert",
"cmd": {
"{{eq .a \"local_aaa\" }}",
"{{eq .b \"local_bbb\" }}",
"{{eq .c \"global_ccc\" }}",
"{{eq .da \"local_da_callee_task1\" }}",
"{{eq .db \"callee_db_callee_task2\" }}"
},
"flags": {
"failFast"
}
}
},
"func": "cmd"
}
},
Dox: <nil>,
Func: "block",
Vars: {
"a": "callee_aaa_callee_task2"
},
Dvars: {
{
Name: "db",
Value: "callee_db_callee_task2",
Desc: "",
Expand: 0,
Flags: <nil>,
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "",
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": 2,
"a": "local_aaa",
"da": "local_da_callee_task1",
"db": "local_db_callee_task1",
"c": "global_ccc",
"b": "local_bbb"
})
[local] dvar expanded result:
{
"db": "callee_db_callee_task2"
}
scope[local] merged: {
"db": "callee_db_callee_task2",
"c": "global_ccc",
"b": "local_bbb",
"up_runtime_task_layer_number": 2,
"a": "local_aaa",
"da": "local_da_callee_task1"
}
self: final context exec vars:
(*core.Cache)({
"db": "callee_db_callee_task2",
"c": "global_ccc",
"b": "local_bbb",
"up_runtime_task_layer_number": 2,
"a": "local_aaa",
"da": "local_da_callee_task1"
})
---Step1:
{
Name: "",
Do: {
{
"cmd": "a: {{.a}}\nb: {{.b}}\nc: {{.c}}\nda: {{.da}}\ndb: {{.db}}\n",
"name": "print"
},
{
"cmd": {
"{{eq .a \"local_aaa\" }}",
"{{eq .b \"local_bbb\" }}",
"{{eq .c \"global_ccc\" }}",
"{{eq .da \"local_da_callee_task1\" }}",
"{{eq .db \"callee_db_callee_task2\" }}"
},
"flags": {
"failFast"
},
"name": "assert"
}
},
Dox: <nil>,
Func: "cmd",
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)({
"b": "local_bbb",
"up_runtime_task_layer_number": 2,
"da": "local_da_callee_task1",
"db": "callee_db_callee_task2",
"c": "global_ccc",
"a": "local_aaa"
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"da": "local_da_callee_task1",
"db": "callee_db_callee_task2",
"c": "global_ccc",
"a": "local_aaa",
"b": "local_bbb",
"up_runtime_task_layer_number": 2
}
self: final context exec vars:
(*core.Cache)({
"b": "local_bbb",
"up_runtime_task_layer_number": 2,
"da": "local_da_callee_task1",
"db": "callee_db_callee_task2",
"c": "global_ccc",
"a": "local_aaa"
})
a: {{.a}}
b: {{.b}}
c: {{.c}}
da: {{.da}}
db: {{.db}}
~~~SubStep1: [print: ]
a: local_aaa
b: local_bbb
c: global_ccc
da: local_da_callee_task1
db: callee_db_callee_task2
[{{eq .a "local_aaa" }} {{eq .b "local_bbb" }} {{eq .c "global_ccc" }} {{eq .da "local_da_callee_task1" }} {{eq .db "callee_db_callee_task2" }}]
~~~SubStep2: [assert: ]
1 ASSERT OK: [{{eq .a "local_aaa" }}]
2 ASSERT OK: [{{eq .b "local_bbb" }}]
3 ASSERT OK: [{{eq .c "global_ccc" }}]
4 ASSERT OK: [{{eq .da "local_da_callee_task1" }}]
5 ASSERT OK: [{{eq .db "callee_db_callee_task2" }}]
Logs with different verbose level
References