c0055_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 -> c0055
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/c0055
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc00000c6a0)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
(*core.Cache)(0xc00000e108)({
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
{
Name: "",
Do: {
"taska"
},
Dox: <nil>,
Func: "call",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "false",
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
})
condition failed, skip executing step
-Step2:
{
Name: "",
Do: <nil>,
Dox: <nil>,
Func: "cmd",
Vars: <nil>,
Dvars: {
{
Name: "greet",
Value: "hello",
Desc: "",
Expand: 0,
Flags: {
"vvvv"
},
Rendered: "",
Secure: (*utils.SecureSetting)(<nil>),
Ref: "",
RefDir: "",
DataKey: "",
DataPath: "",
DataTemplate: ""
}
},
Desc: "",
Reg: "",
Flags: <nil>,
If: "true",
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
})
dvar> greet:
"hello"
-
hello
[local] dvar expanded result:
{
"greet": "hello"
}
scope[local] merged: {
"up_runtime_task_layer_number": 0,
"greet": "hello"
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"greet": "hello"
})
WARN: [cmd] - [Not implemented or void for no action!]
-Step3:
{
Name: "",
Do: {
"taska"
},
Dox: <nil>,
Func: "call",
Vars: <nil>,
Dvars: <nil>,
Desc: "",
Reg: "",
Flags: <nil>,
If: "true",
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 (taska)::
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
located task-> 2 [taska]:
=Task2: [task ==> taska: ]
Executing task stack layer: 2
--Step1: [: greet var will be no value as it is a local var for cmd step ]
{
Name: "",
Do: {
"echo \"hello from taska\"",
"echo \"{{.greet}} from taska\""
},
Dox: <nil>,
Func: "shell",
Vars: <nil>,
Dvars: <nil>,
Desc: "greet var will be no value as it is a local var for cmd step",
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": 1
})
[local] dvar expanded result:
{
}
scope[local] merged: {
"up_runtime_task_layer_number": 1
}
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1
})
cmd( 1):
echo "hello from taska"
cmd=>:
echo "hello from taska"
-
hello from taska
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=23) "echo \"hello from taska\"",
Code: (int) 0,
Output: (string) (len=16) "hello from taska",
ErrMsg: (string) ""
}
cmd( 2):
echo "{{.greet}} from taska"
cmd=>:
echo "<no value> from taska"
-
<no value> from taska
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=28) "echo \"<no value> from taska\"",
Code: (int) 0,
Output: (string) (len=21) "<no value> from taska",
ErrMsg: (string) ""
}
. ok
Logs with different verbose level
References