c0046_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 -> c0046
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/c0046
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
"student_name": "Tom Hanks",
"student_age": "28"
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"student_name": "Tom Hanks",
"student_age": "28"
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"student_name": "Tom Hanks",
"student_age": "28",
"cli": "echo \"\"\"\nstudent details:\nname: Tom Hanks\nage: 28\n\"\"\"\n"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1: [: this show an example of the empty value is mapped to None ]
current exec runtime vars:
(*core.Cache)({
"student_name": "Tom Hanks",
"student_age": "28",
"cli": "echo \"\"\"\nstudent details:\nname: Tom Hanks\nage: 28\n\"\"\"\n",
"up_runtime_task_layer_number": 0,
"person": ""
})
self: final context exec vars:
(*core.Cache)({
"person": "",
"i_am_empty": "None",
"empty_env_var": "None",
"someone": "None",
"student_name": "Tom Hanks",
"student_age": "28",
"cli": "echo \"\"\"\nstudent details:\nname: Tom Hanks\nage: 28\n\"\"\"\n",
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo "{{.someone}}"
echo "{{.i_am_empty}}"
echo "{{.empty_env_var}}"
cmd=>:
echo "None"
echo "None"
echo "None"
-
None
None
None
-
.. ok
. ok
-Step2:
current exec runtime vars:
(*core.Cache)({
"student_name": "Tom Hanks",
"student_age": "28",
"up_runtime_task_layer_number": 0,
"cli": "echo \"\"\"\nstudent details:\nname: Tom Hanks\nage: 28\n\"\"\"\n",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"None\"\necho \"None\"\necho \"None\"\n",
Code: 0,
Output: "None\nNone\nNone",
ErrMsg: ""
})
})
self: final context exec vars:
(*core.Cache)({
"cli": "echo \"\"\"\nstudent details:\nname: Tom Hanks\nage: 28\n\"\"\"\n",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"None\"\necho \"None\"\necho \"None\"\n",
Code: 0,
Output: "None\nNone\nNone",
ErrMsg: ""
}),
"student_name": "Tom Hanks",
"student_age": "28",
"up_runtime_task_layer_number": 0
})
~SubStep1: [inspect: ]
1: inspect[exec_vars]
(*core.Cache)({
"cli": "echo \"\"\"\nstudent details:\nname: Tom Hanks\nage: 28\n\"\"\"\n",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"None\"\necho \"None\"\necho \"None\"\n",
Code: 0,
Output: "None\nNone\nNone",
ErrMsg: ""
}),
"student_name": "Tom Hanks",
"student_age": "28",
"up_runtime_task_layer_number": 0
})
2: inspect[exec_base_vars]
{
"cli": "echo \"\"\"\nstudent details:\nname: Tom Hanks\nage: 28\n\"\"\"\n",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"None\"\necho \"None\"\necho \"None\"\n",
Code: 0,
Output: "None\nNone\nNone",
ErrMsg: ""
}),
"student_name": "Tom Hanks",
"student_age": "28"
}
Logs with different verbose level
References