c0036_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 -> c0036
                 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/c0036
    module: [self], instance id: [dev], exec profile: []
    profile -  envVars:
    
    (*core.Cache)({
    })
    
    ---------group vars----------
    
    global: (*core.Cache)({
    })
    
    
    groups members:[]
    merged[ dev ] runtime vars:
    (*core.Cache)({
      "pod_name": "web_app",
      "admins": {
        "tom",
        "jason",
        "alice"
      },
      "managers": {
        "tom",
        "jason",
        "alice"
      },
      "where_is_my_deploy": "pod_name",
      "ha": true,
      "age": 34,
      "ns": "prod",
      "old": 54,
      "fieldnames": {
        "name-with-dash": "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"
      }
    })
    
    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"
    
    -------runtime global final merged with dvars-------
    
    (*core.Cache)({
      "var_equal": "false",
      "fieldnames": {
        "name-with-dash": "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"
      },
      "var_with_range_item_simpler": " tom  jason  alice ",
      "var_commented_trimmed": "prod-web_app",
      "var_not_equal": "true",
      "ns": "prod",
      "var_greater": "false",
      "var_greater_and_equal": "hello",
      "indirect_var_reference": "None",
      "var_test_log_auto_print": "prodweb_app",
      "var_with_not": "prod-web_app",
      "var_slice_index": "jason",
      "var_space_trimmed": "prod-web_app",
      "var_with_or": "prod",
      "var_commented": " prod-web_app",
      "var_with_ifelse_multilines": "  prod-web_app-HA ",
      "var_with_and": "web_app",
      "pod_name": "web_app",
      "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",
      "var_with_ifelse": "prod-web_app-HA",
      "var_with_not_object": "prod-web_app",
      "var_with_range": " x  x  x ",
      "var_length": "12",
      "template_def": "\n\n\nONE TWO\"\n",
      "var_not_equal_another_way": "true",
      "managers": {
        "tom",
        "jason",
        "alice"
      },
      "instance_full_name": "prod-web_app",
      "var_test_log_auto_print_object": "prodweb_app",
      "var_with_if": "prod-web_app-HA",
      "var_slice": "[jason]",
      "var_with_print": "prodweb_app",
      "admins": {
        "tom",
        "jason",
        "alice"
      },
      "where_is_my_deploy": "pod_name",
      "var_with_range_item": " tom  jason  alice ",
      "var_space_not_trimmed": "prod       -            web_app",
      "ha": true,
      "old": 54,
      "age": 34,
      "var_use_or_operator": "true",
      "var_use_and_operator": "true",
      "var_concat_values": "web_app: 34 years old"
    })
    
      located task-> 1 [task]: 
    Task1: [task ==> task:  ]
    Executing task stack layer: 1
    
    -Step1:
    current exec runtime vars:
    (*core.Cache)({
      "admins": {
        "tom",
        "jason",
        "alice"
      },
      "var_test_log_auto_print": "prodweb_app",
      "var_with_print": "prodweb_app",
      "var_concat_values": "web_app: 34 years old",
      "var_not_equal": "true",
      "var_test_log_auto_print_object": "prodweb_app",
      "managers": {
        "tom",
        "jason",
        "alice"
      },
      "fieldnames": {
        "name-with-dash": "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"
      },
      "pod_name": "web_app",
      "var_with_if": "prod-web_app-HA",
      "var_commented": " prod-web_app",
      "var_with_not_object": "prod-web_app",
      "var_with_and": "web_app",
      "var_with_range": " x  x  x ",
      "var_with_ifelse_multilines": "  prod-web_app-HA ",
      "var_length": "12",
      "var_with_range_item": " tom  jason  alice ",
      "var_slice_index": "jason",
      "var_with_not": "prod-web_app",
      "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",
      "var_equal": "false",
      "var_with_range_item_simpler": " tom  jason  alice ",
      "instance_full_name": "prod-web_app",
      "ns": "prod",
      "var_use_or_operator": "true",
      "age": 34,
      "var_not_equal_another_way": "true",
      "var_greater": "false",
      "var_use_and_operator": "true",
      "var_greater_and_equal": "hello",
      "up_runtime_task_layer_number": 0,
      "var_commented_trimmed": "prod-web_app",
      "where_is_my_deploy": "pod_name",
      "var_space_trimmed": "prod-web_app",
      "var_with_or": "prod",
      "ha": true,
      "old": 54,
      "var_with_ifelse": "prod-web_app-HA",
      "var_space_not_trimmed": "prod       -            web_app",
      "var_slice": "[jason]",
      "indirect_var_reference": "None",
      "template_def": "\n\n\nONE TWO\"\n"
    })
    
    self: final context exec vars:
    
    (*core.Cache)({
      "var_with_if": "prod-web_app-HA",
      "managers": {
        "tom",
        "jason",
        "alice"
      },
      "var_with_range_item": " tom  jason  alice ",
      "var_slice_index": "jason",
      "template_def": "\n\n\nONE TWO\"\n",
      "var_concat_values": "web_app: 34 years old",
      "var_equal": "false",
      "var_space_not_trimmed": "prod       -            web_app",
      "ns": "prod",
      "var_slice": "[jason]",
      "fieldnames": {
        "name-with-dash": "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"
      },
      "pod_name": "web_app",
      "up_runtime_task_layer_number": 0,
      "var_with_or": "prod",
      "var_not_equal": "true",
      "var_test_log_auto_print_object": "prodweb_app",
      "var_with_not_object": "prod-web_app",
      "var_use_or_operator": "true",
      "var_space_trimmed": "prod-web_app",
      "var_length": "12",
      "var_not_equal_another_way": "true",
      "var_greater_and_equal": "hello",
      "admins": {
        "tom",
        "jason",
        "alice"
      },
      "var_use_and_operator": "true",
      "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",
      "var_with_ifelse_multilines": "  prod-web_app-HA ",
      "ha": true,
      "var_with_range_item_simpler": " tom  jason  alice ",
      "indirect_var_reference": "None",
      "where_is_my_deploy": "pod_name",
      "var_with_not": "prod-web_app",
      "age": 34,
      "var_with_print": "prodweb_app",
      "instance_full_name": "prod-web_app",
      "var_with_range": " x  x  x ",
      "var_with_ifelse": "prod-web_app-HA",
      "var_commented": " prod-web_app",
      "var_greater": "false",
      "var_test_log_auto_print": "prodweb_app",
      "var_with_and": "web_app",
      "old": 54,
      "var_commented_trimmed": "prod-web_app"
    })
    
    cmd( 1):
    echo "{{.instance_full_name}}"
    
    cmd=>:
    echo "prod-web_app"
    -
    prod-web_app
    
    -
     .. ok
    cmd( 2):
    echo "{{.var_space_not_trimmed}}"
    
    cmd=>:
    echo "prod       -            web_app"
    -
    prod       -            web_app
    
    -
     .. ok
    cmd( 3):
    echo "{{.var_space_trimmed}}"
    
    cmd=>:
    echo "prod-web_app"
    -
    prod-web_app
    
    -
     .. ok
    cmd( 4):
    echo "{{.var_commented}}"
    
    cmd=>:
    echo " prod-web_app"
    -
     prod-web_app
    
    -
     .. ok
    cmd( 5):
    echo "{{.var_commented_trimmed}}"
    
    cmd=>:
    echo "prod-web_app"
    -
    prod-web_app
    
    -
     .. ok
    cmd( 6):
    echo "{{.var_with_if}}"
    
    cmd=>:
    echo "prod-web_app-HA"
    -
    prod-web_app-HA
    
    -
     .. ok
    cmd( 7):
    echo "{{.var_with_ifelse}}"
    
    cmd=>:
    echo "prod-web_app-HA"
    -
    prod-web_app-HA
    
    -
     .. ok
    cmd( 8):
    echo "{{.var_with_ifelse_multilines}}"
    
    cmd=>:
    echo "  prod-web_app-HA "
    -
      prod-web_app-HA 
    
    -
     .. ok
    cmd( 9):
    echo "{{.var_with_not}}"
    
    cmd=>:
    echo "prod-web_app"
    -
    prod-web_app
    
    -
     .. ok
    cmd(10):
    echo "{{.var_with_not_object}}"
    
    cmd=>:
    echo "prod-web_app"
    -
    prod-web_app
    
    -
     .. ok
    cmd(11):
    echo "{{.var_length}}"
    
    cmd=>:
    echo "12"
    -
    12
    
    -
     .. ok
    cmd(12):
    echo "{{.var_with_or}}"
    
    cmd=>:
    echo "prod"
    -
    prod
    
    -
     .. ok
    cmd(13):
    echo "{{.var_with_print}}"
    
    cmd=>:
    echo "prodweb_app"
    -
    prodweb_app
    
    -
     .. ok
    cmd(14):
    echo "check the value of other dvar using vvvv flag print out"
    
    cmd=>:
    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