0002_vvv
Log reference:
loading [Config]: ./tests/modtests/0002/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/modtests/0002
WorkDir -> refdir
AbsWorkDir -> /up_project/up/tests/modtests/0002
TaskFile -> up.yml
Verbose -> vvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> Main
ModRepoUsernameRef ->
ModRepoPasswordRef ->
work dir: /up_project/up/tests/modtests/0002
-exec task: Main
loading [Task]: ./up.yml
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
Task1: [Main ==> Main: main entry ]
-Step1: [: main job ]
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo "hello world"
-
hello world
-
.. ok
. ok
-Step2:
self: final context exec vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "echo \"hello world\"",
Code: 0,
Output: "hello world",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0
})
=Task2: [Main ==> internal_task: ]
--Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"last_result": (*utils.ExecResult)({
Cmd: "echo \"hello world\"",
Code: 0,
Output: "hello world",
ErrMsg: ""
})
})
~~SubStep1: [print: ]
this is a internal task
-Step3:
self: final context exec vars:
(*core.Cache)({
"a": "caller-aaa",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"hello world\"",
Code: 0,
Output: "hello world",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 1
})
loading [Config]: ./upconfig.yml
loading [Task]: ./up.yml
module: [hello-module], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
=>call module: [hello-module] task: [Say_world]
Task2: [TODO: Main Caller Taskname ==> Say_world: ]
-Step1:
hello-module: final context exec vars:
(*core.Cache)({
"up_runtime_tasker_layer_number": 2,
"a": "caller-aaa",
"b": "module-bbb",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"hello world\"",
Code: 0,
Output: "hello world",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0
})
~SubStep1: [print: ]
... module world
a: caller-aaa
b: module-bbb
~SubStep2: [assert: ]
1 ASSERT OK: [{{eq .a "caller-aaa"}}]
2 ASSERT OK: [{{eq .b "module-bbb"}}]
Logs with different verbose level
References