0007_vvvvv
Log reference:
loading [Config]: ./tests/modtests/0007/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/modtests/0007
WorkDir -> refdir
AbsWorkDir -> /up_project/up/tests/modtests/0007
TaskFile -> up.yml
Verbose -> vvvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> Main
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvvv
work dir: /up_project/up/tests/modtests/0007
-exec task: Main
loading [Task]: ./up.yml
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc000230f20)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
(*core.Cache)(0xc00000e8c8)({
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
})
located task-> 1 [Main]:
Task1: [Main ==> Main: main entry ]
Executing task stack layer: 1
-Step1: [
note that the module dir is: hello-module, but in upconfig.yml you give the alias hello as module name
]
{
Name: "",
Do: "hello.Say_world",
Dox: <nil>,
Func: "call",
Vars: <nil>,
Dvars: <nil>,
Desc: "note that the module dir is: hello-module, but in upconfig.yml you give the alias hello as module name\n",
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
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
caller's vars to task (hello.Say_world)::
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
WARN: [config file does not exist] - [use builtin defaults]
loading [Task]: ./up.yml
module: [hello], instance id: [nonamed], exec profile: []
WARN: [*be aware*] - [both instance id and exec profile are not set]
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc000231da0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ nonamed ] runtime vars:
(*core.Cache)({
})
(*core.Cache)(0xc00000ea70)({
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
})
=>call module: [hello] task: [Say_world]
Executing tasker layer: 2
located task-> 2 [Say_world]:
Task2: [TODO: Main Caller Taskname ==> Say_world: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
{
"name": "print",
"cmd": " .... world from Say_world"
}
},
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)({
"up_runtime_task_layer_number": 0,
"up_runtime_tasker_layer_number": 2
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"up_runtime_tasker_layer_number": 2
}
hello: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"up_runtime_tasker_layer_number": 2
})
.... world from Say_world
~SubStep1: [print: ]
.... world from Say_world
Logs with different verbose level
References