c0004_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 -> c0004
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/c0004
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
-------full vars in scopes------
(*impl.Scopes)(0xc0001e4f40)(<nil>)
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
(*core.Cache)(0xc0001268d8)({
})
[runtime global] dvar expanded result:
{
}
-------runtime global final merged with dvars-------
(*core.Cache)({
})
located task-> 1 [task]:
Task1: [task ==> task: this is task1 ]
Executing task stack layer: 1
-Step1: [: do step1 in shell func ]
{
Name: "",
Do: {
"echo \"hello\"\necho \"world\"\n",
"echo \"how are you\""
},
Dox: <nil>,
Func: "shell",
Vars: <nil>,
Dvars: <nil>,
Desc: "do step1 in shell func",
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
})
cmd( 1):
echo "hello"
echo "world"
cmd=>:
echo "hello"
echo "world"
-
hello
world
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=26) "echo \"hello\"\necho \"world\"\n",
Code: (int) 0,
Output: (string) (len=11) "hello\nworld",
ErrMsg: (string) ""
}
cmd( 2):
echo "how are you"
cmd=>:
echo "how are you"
-
how are you
-
.. ok
(utils.ExecResult) {
Cmd: (string) (len=18) "echo \"how are you\"",
Code: (int) 0,
Output: (string) (len=11) "how are you",
ErrMsg: (string) ""
}
. ok
Logs with different verbose level
References