c0174_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 -> c0174
                 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/c0174
    module: [self], instance id: [dev], exec profile: []
    Task1: [task ==> task:  ]
    -Step1:
    cmd( 1):
    echo "opening file"
    
    -
    opening file
    
    -
     .. ok
    cmd( 2):
    echo "hello"|grep "world"
    
    -
    
    -
     .. failed(suppressed if it is not the last step)
    Step Finally:
    -Step1: [
    ensure the opened file is closed
    ]
    cmd( 1):
    echo "close the file ....."
    
    -
    close the file .....
    
    -
     .. ok
    cmd( 2):
    echo """
    exec command: {{.up_runtime_shell_exec_result.Cmd}}
    error code: {{.up_runtime_shell_exec_result.Code}}
    error message: {{.up_runtime_shell_exec_result.ErrMsg}}
    error output: {{.up_runtime_shell_exec_result.Output}}
    """
    
    
    -
    
    exec command: echo hello|grep world
    error code: 1
    error message: exit status 1
    error output: 
    
    
    -
     .. ok
    . ok
    -Step2: [
    see if the exec context result: up_runtime_shell_exec_result is still availabe
    conditional do something about the error etc
    ]
    ~SubStep1: [print:  ]
    error message: exit status 1
    
     WARN: [ignoreError:] - [Error ignored!!!]
    -Step2: [
    this step will not be reached if the ignoreError flag is not set
    try it yourself to remove the ignoreError flag and see difference
    ]
    cmd( 1):
    echo "extra step ..."
    
    -
    extra step ...
    
    -
     .. ok
    . ok
    
Logs with different verbose level
References