c0049_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 -> c0049
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/c0049
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
"SCHOOL": "James Rules",
"envVar_SCHOOL": "James Rules"
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"SCHOOL": "James Rules",
"envVar_SCHOOL": "James Rules"
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"envVar_STUDENT_NAME": "James Bond",
"STUDENT_AGE": "18",
"envVar_STUDENT_AGE": "18",
"SCHOOL": "James Rules",
"envVar_SCHOOL": "James Rules",
"STUDENT_NAME": "James Bond"
})
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,
"envVar_SCHOOL": "James Rules",
"STUDENT_NAME": "James Bond",
"envVar_STUDENT_NAME": "James Bond",
"STUDENT_AGE": "18",
"envVar_STUDENT_AGE": "18",
"SCHOOL": "James Rules"
})
self: final context exec vars:
(*core.Cache)({
"STUDENT_NAME": "Tom Hanks",
"envVar_STUDENT_NAME": "Tom Hanks",
"STUDENT_AGE": "18",
"envVar_STUDENT_AGE": "18",
"SCHOOL": "James Rules",
"up_runtime_task_layer_number": 0,
"envVar_SCHOOL": "James Rules"
})
cmd( 1):
env |grep STUDENT_NAME
cmd=>:
env |grep STUDENT_NAME
-
STUDENT_NAME=Tom Hanks
-
.. ok
cmd( 2):
env |grep STUDENT_AGE
cmd=>:
env |grep STUDENT_AGE
-
STUDENT_AGE=18
-
.. ok
. ok
-Step2: [
since there is no local envVar for STUDENT_NAME
it should use global envVar value 'james bond'
]
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"envVar_SCHOOL": "James Rules",
"STUDENT_NAME": "James Bond",
"envVar_STUDENT_NAME": "James Bond",
"STUDENT_AGE": "18",
"envVar_STUDENT_AGE": "18",
"last_result": (*utils.ExecResult)({
Cmd: "env |grep STUDENT_AGE",
Code: 0,
Output: "STUDENT_AGE=18",
ErrMsg: ""
}),
"SCHOOL": "James Rules"
})
self: final context exec vars:
(*core.Cache)({
"SCHOOL": "James Rules",
"up_runtime_task_layer_number": 0,
"envVar_SCHOOL": "James Rules",
"STUDENT_NAME": "James Bond",
"envVar_STUDENT_NAME": "James Bond",
"STUDENT_AGE": "18",
"envVar_STUDENT_AGE": "18",
"last_result": (*utils.ExecResult)({
Cmd: "env |grep STUDENT_AGE",
Code: 0,
Output: "STUDENT_AGE=18",
ErrMsg: ""
})
})
cmd( 1):
env |grep STUDENT_NAME
cmd=>:
env |grep STUDENT_NAME
-
STUDENT_NAME=James Bond
-
.. ok
cmd( 2):
env |grep STUDENT_AGE
cmd=>:
env |grep STUDENT_AGE
-
STUDENT_AGE=18
-
.. ok
cmd( 3):
env |grep SCHOOL
cmd=>:
env |grep SCHOOL
-
SCHOOL=James Rules
-
.. ok
. ok
Logs with different verbose level
References