0004_vvv
Log reference:
loading [Config]: ./tests/modtests/0004/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/modtests/0004
WorkDir -> refdir
AbsWorkDir -> /up_project/up/tests/modtests/0004
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/0004
-exec task: Main
loading [Task]: ./up.yml
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
Task1: [Main ==> Main: main entry ]
-Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
=Task2: [Main ==> internal_task: ]
--Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1
})
~~SubStep1: [print: ]
this is a internal task in caller
--Step2:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1
})
cmd( 1):
ls -lart
-
total 12
-rw-r--r-- 1 root root 253 Jun 11 09:38 upconfig.yml
-rw-r--r-- 1 root root 521 Jun 11 09:38 up.yml
drwxr-xr-x 3 root root 96 Jun 11 09:38 hello-module
-rw-r--r-- 1 root root 1019 Jun 11 09:38 doc.yml
drwxr-xr-x 6 root root 192 Jun 11 09:38 .
drwxr-xr-x 19 root root 608 Oct 1 21:59 ..
-
.. ok
cmd( 2):
ls |grep up
-
up.yml
upconfig.yml
-
.. ok
cmd( 3):
pwd
-
/up_project/up/tests/modtests/0004
-
.. ok
cmd( 4):
ls ../..|grep modtests
-
modtests
-
.. ok
. ok
-Step2:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1
})
WARN: [config file does not exist] - [use builtin defaults]
loading [Task]: ./up.yml
module: [hello-module], instance id: [nonamed], exec profile: []
WARN: [*be aware*] - [both instance id and exec profile are not set]
profile - envVars:
(*core.Cache)({
})
=>call module: [hello-module] task: [Say_world]
Task1: [TODO: Main Caller Taskname ==> Say_world: ]
-Step1:
hello-module: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"up_runtime_tasker_layer_number": 2
})
cmd( 1):
ls -lart
-
total 4
-rw-r--r-- 1 root root 796 Jun 11 09:38 up.yml
drwxr-xr-x 6 root root 192 Jun 11 09:38 ..
drwxr-xr-x 3 root root 96 Jun 11 09:38 .
-
.. ok
cmd( 2):
ls |grep up
-
up.yml
-
.. ok
cmd( 3):
pwd
-
/up_project/up/tests/modtests/0004/hello-module
-
.. ok
cmd( 4):
ls ../../..|grep modtests
-
modtests
-
.. ok
. ok
-Step2: [
this should call its own internal task
]
hello-module: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"last_result": (*utils.ExecResult)({
Cmd: "ls ../../..|grep modtests",
Code: 0,
Output: "modtests",
ErrMsg: ""
}),
"up_runtime_tasker_layer_number": 2
})
=Task3: [TODO: Main Caller Taskname/Say_world ==> internal_task: ]
--Step1:
hello-module: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"last_result": (*utils.ExecResult)({
Cmd: "ls ../../..|grep modtests",
Code: 0,
Output: "modtests",
ErrMsg: ""
}),
"up_runtime_tasker_layer_number": 2
})
~~SubStep1: [print: ]
this is a internal task in module
--Step2:
hello-module: final context exec vars:
(*core.Cache)({
"up_runtime_tasker_layer_number": 2,
"up_runtime_task_layer_number": 1,
"last_result": (*utils.ExecResult)({
Cmd: "ls ../../..|grep modtests",
Code: 0,
Output: "modtests",
ErrMsg: ""
})
})
cmd( 1):
ls -lart
-
total 4
-rw-r--r-- 1 root root 796 Jun 11 09:38 up.yml
drwxr-xr-x 6 root root 192 Jun 11 09:38 ..
drwxr-xr-x 3 root root 96 Jun 11 09:38 .
-
.. ok
cmd( 2):
ls |grep up
-
up.yml
-
.. ok
cmd( 3):
pwd
-
/up_project/up/tests/modtests/0004/hello-module
-
.. ok
cmd( 4):
ls ../../..|grep modtests
-
modtests
-
.. ok
. ok
-Step3:
self: final context exec vars:
(*core.Cache)({
"up_runtime_tasker_layer_number": 2,
"up_runtime_task_layer_number": 1
})
=Task2: [Main ==> internal_task: ]
--Step1:
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"up_runtime_tasker_layer_number": 2
})
~~SubStep1: [print: ]
this is a internal task in caller
--Step2:
self: final context exec vars:
(*core.Cache)({
"up_runtime_tasker_layer_number": 2,
"up_runtime_task_layer_number": 1
})
cmd( 1):
ls -lart
-
total 12
-rw-r--r-- 1 root root 253 Jun 11 09:38 upconfig.yml
-rw-r--r-- 1 root root 521 Jun 11 09:38 up.yml
drwxr-xr-x 3 root root 96 Jun 11 09:38 hello-module
-rw-r--r-- 1 root root 1019 Jun 11 09:38 doc.yml
drwxr-xr-x 6 root root 192 Jun 11 09:38 .
drwxr-xr-x 19 root root 608 Oct 1 21:59 ..
-
.. ok
cmd( 2):
ls |grep up
-
up.yml
upconfig.yml
-
.. ok
cmd( 3):
pwd
-
/up_project/up/tests/modtests/0004
-
.. ok
cmd( 4):
ls ../..|grep modtests
-
modtests
-
.. ok
. ok
Logs with different verbose level
References