c0148_vvvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0148
Verbose -> vvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvv
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0148
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"tom": "this is tom"
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"tom": "this is tom"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"tom": "this is tom"
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"tom": "this is tom"
})
-Step1:
current exec runtime vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0
})
self: final context exec vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0,
"jerry": "this is jerry in task scope"
})
WARN: [cmd] - [Not implemented or void for no action!]
-Step2:
current exec runtime vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0,
"jerry": "this is jerry in task scope"
})
self: final context exec vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0,
"jerry": "this is jerry in task scope"
})
~SubStep1: [print: this should print out the dvar value of jerry ]
this is jerry in task scope
-Step2:
current exec runtime vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0,
"jerry": "this is jerry in task scope"
})
self: final context exec vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0,
"jerry": "this is jerry in task scope"
})
~SubStep1: [print: this should print out the dvar value of jerry ]
this is jerry in task scope
-Step3:
current exec runtime vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0,
"jerry": "this is jerry in task scope"
})
self: final context exec vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 0,
"jerry": "this is jerry in task scope"
})
located task-> 2 [subtask1]:
=Task2: [task ==> subtask1: ]
Executing task stack layer: 2
--Step1:
current exec runtime vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 1,
"jerry": "this is jerry in task scope"
})
self: final context exec vars:
(*core.Cache)({
"tom": "this is tom",
"up_runtime_task_layer_number": 1,
"jerry": "this is jerry in task scope"
})
~~SubStep1: [print: this should print out the dvar value of jerry as it is declared jerry is in taskScope ]
this is jerry in task scope
~~SubStep2: [trace: ]
Trace:===>
--Step2:
current exec runtime vars:
(*core.Cache)({
"jerry": "this is jerry in task scope",
"up_runtime_task_layer_number": 1,
"tom": "this is tom"
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"tom": "this is tom",
"jerry": "this is jerry in task scope"
})
~~SubStep1: [print: remember that the caller's vars should override callee's vars
so jerry's value should the one from caller instead this local value
]
this is jerry in task scope
~~SubStep2: [trace: ]
Trace:<===
Logs with different verbose level
References