c0036_vv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0036
Verbose -> vv
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/c0036
module: [self], instance id: [dev], exec profile: []
dvar> var_with_range:
" x x x "
-
x x x
dvar> var_with_range_item:
" tom jason alice "
-
tom jason alice
dvar> var_with_range_item_simpler:
" tom jason alice "
-
tom jason alice
dvar> var_test_log_auto_print:
"prodweb_app"
-
prodweb_app
dvar[object]> var_test_log_auto_print_object:
"prodweb_app"
dvar> var_with_and:
"web_app"
-
web_app
dvar> var_slice_index:
"jason"
-
jason
dvar> out_of_normal_field_name:
"this_is_a_field_with_dash: you will have to use index func to access the field\nnote: direct access this field will trigger template rendering error\n"
-
this_is_a_field_with_dash: you will have to use index func to access the field
note: direct access this field will trigger template rendering error
dvar> indirect_var_reference:
"None"
-
None
dvar> var_slice:
"[jason]"
-
[jason]
dvar> var_equal:
"false"
-
false
dvar> var_not_equal:
"true"
-
true
dvar> var_not_equal_another_way:
"true"
-
true
dvar> var_greater:
"false"
-
false
dvar> var_greater_and_equal:
"true"
-
true
dvar> var_greater_and_equal:
"hello"
-
hello
dvar> var_use_and_operator:
"true"
-
true
dvar> var_use_or_operator:
"true"
-
true
dvar> var_concat_values:
"web_app: 34 years old"
-
web_app: 34 years old
dvar> template_def:
"\n\n\nONE TWO\"\n"
-
ONE TWO"
Task1: [task ==> task: ]
-Step1:
cmd( 1):
echo "{{.instance_full_name}}"
-
prod-web_app
-
.. ok
cmd( 2):
echo "{{.var_space_not_trimmed}}"
-
prod - web_app
-
.. ok
cmd( 3):
echo "{{.var_space_trimmed}}"
-
prod-web_app
-
.. ok
cmd( 4):
echo "{{.var_commented}}"
-
prod-web_app
-
.. ok
cmd( 5):
echo "{{.var_commented_trimmed}}"
-
prod-web_app
-
.. ok
cmd( 6):
echo "{{.var_with_if}}"
-
prod-web_app-HA
-
.. ok
cmd( 7):
echo "{{.var_with_ifelse}}"
-
prod-web_app-HA
-
.. ok
cmd( 8):
echo "{{.var_with_ifelse_multilines}}"
-
prod-web_app-HA
-
.. ok
cmd( 9):
echo "{{.var_with_not}}"
-
prod-web_app
-
.. ok
cmd(10):
echo "{{.var_with_not_object}}"
-
prod-web_app
-
.. ok
cmd(11):
echo "{{.var_length}}"
-
12
-
.. ok
cmd(12):
echo "{{.var_with_or}}"
-
prod
-
.. ok
cmd(13):
echo "{{.var_with_print}}"
-
prodweb_app
-
.. ok
cmd(14):
echo "check the value of other dvar using vvvv flag print out"
-
check the value of other dvar using vvvv flag print out
-
.. ok
. ok
Logs with different verbose level
References