c0049_vvv
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 -> vvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0049
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
Task1: [task ==> task: ]
-Step1:
self: final context exec vars:
(*core.Cache)({
"STUDENT_AGE": "18",
"SCHOOL": "James Rules",
"up_runtime_task_layer_number": 0,
"envVar_SCHOOL": "James Rules",
"envVar_STUDENT_AGE": "18",
"STUDENT_NAME": "Tom Hanks",
"envVar_STUDENT_NAME": "Tom Hanks"
})
cmd( 1):
env |grep STUDENT_NAME
-
STUDENT_NAME=Tom Hanks
-
.. ok
cmd( 2):
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'
]
self: final context exec vars:
(*core.Cache)({
"envVar_STUDENT_AGE": "18",
"STUDENT_NAME": "James Bond",
"envVar_STUDENT_NAME": "James Bond",
"STUDENT_AGE": "18",
"last_result": (*utils.ExecResult)({
Cmd: "env |grep STUDENT_AGE",
Code: 0,
Output: "STUDENT_AGE=18",
ErrMsg: ""
}),
"SCHOOL": "James Rules",
"up_runtime_task_layer_number": 0,
"envVar_SCHOOL": "James Rules"
})
cmd( 1):
env |grep STUDENT_NAME
-
STUDENT_NAME=James Bond
-
.. ok
cmd( 2):
env |grep STUDENT_AGE
-
STUDENT_AGE=18
-
.. ok
cmd( 3):
env |grep SCHOOL
-
SCHOOL=James Rules
-
.. ok
. ok
Logs with different verbose level
References