c0044_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 -> c0044
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/c0044
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
dvar> homedir:
"/root"
-
/root
dvar> yourhome:
"Your path is set to /root "
-
Your path is set to /root
-------runtime global final merged with dvars-------
(*core.Cache)({
"yourhome": "Your path is set to /root ",
"homedir": "/root"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"homedir": "/root",
"yourhome": "Your path is set to /root ",
"up_runtime_task_layer_number": 0
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"homedir": "/root",
"yourhome": "Your path is set to /root "
})
~SubStep1: [print: ]
/root
~SubStep2: [print: ]
Your path is set to /root
-Step2:
current exec runtime vars:
(*core.Cache)({
"yourhome": "Your path is set to /root ",
"up_runtime_task_layer_number": 0,
"homedir": "/root"
})
self: final context exec vars:
(*core.Cache)({
"homedir": "/root",
"yourhome": "Your path is set to /root ",
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo """my home is at {{.homedir}}"""
cmd=>:
echo """my home is at /root"""
-
my home is at /root
-
.. ok
cmd( 2):
echo """my home is at $HOME"""
cmd=>:
echo """my home is at $HOME"""
-
my home is at /root
-
.. ok
cmd( 3):
echo """{{.yourhome}}"""
cmd=>:
echo """Your path is set to /root """
-
Your path is set to /root
-
.. ok
. ok
Logs with different verbose level
References