c0181_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 -> c0181
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/c0181
module: [self], instance id: [dev], exec profile: []
Task1: [task ==> task: ]
-Step1: [
break loop using until condition
]
-Step1:
~SubStep1: [print: ]
item1
-Step1:
~SubStep1: [print: ]
item2
-Step1:
~SubStep1: [print: ]
item3
-Step2:
~SubStep1: [print: ]
----------------------------------------------------
-Step3: [
in this case the until condition will use a var which is chaning in block func
in order to make the interal var accessible by parent block func, you will have to use return cmd to return the value, otherwise the block func can not use right changing value in the condition
also the_internal_var has be be defined somewhere: scope/global/local, otherwise it will result in a golang templating error
]
-Step1:
~SubStep1: [print: ]
item1
~SubStep2: [return: ]
-Step2:
~SubStep1: [print: ]
post process None to see if this is executed
-Step1:
~SubStep1: [print: ]
item2
~SubStep2: [return: ]
-Step2:
~SubStep1: [print: ]
post process item1 to see if this is executed
-Step1:
~SubStep1: [print: ]
item3
~SubStep2: [return: ]
-Step2:
~SubStep1: [print: ]
post process item2 to see if this is executed
-Step1:
~SubStep1: [print: ]
item4
~SubStep2: [return: ]
-Step2:
~SubStep1: [print: ]
post process item3 to see if this is executed
-Step4:
~SubStep1: [print: ]
----------------------------------------------------
-Step5:
=Task2: [task ==> sub_task: ]
--Step1:
~~SubStep1: [print: ]
item1
~~SubStep2: [return: ]
=Task2: [task ==> sub_task: ]
--Step1:
~~SubStep1: [print: ]
item2
~~SubStep2: [return: ]
=Task2: [task ==> sub_task: ]
--Step1:
~~SubStep1: [print: ]
item3
~~SubStep2: [return: ]
=Task2: [task ==> sub_task: ]
--Step1:
~~SubStep1: [print: ]
item4
~~SubStep2: [return: ]
-Step6:
~SubStep1: [inspect: ]
1: inspect[exec_vars]
(*core.Cache)({
"the_internal_var2": "item4",
"up_runtime_task_layer_number": 1,
"the_internal_var": "item4"
})
Logs with different verbose level
References