c0180_v
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0180
Verbose -> v
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/c0180
module: [self], instance id: [dev], exec profile: []
Task1: [task ==> task: ]
-Step1: [: the output of cat would be silent ]
cmd( 1):
-
-
.. ok
cmd( 2):
-
-
.. ok
. ok
-Step2: [: explicitly show the the shell exec result ]
~SubStep1: [print: ]
hello, world
thank you
hello tom
good buy
-Step3: [: the silent will not affect output of failed shell execution ]
cmd( 1):
-
encountering an error
/bin/sh: exit: line 2: Illegal number: -1
-
.. failed(suppressed if it is not the last step)
WARN: [ignoreError:] - [Error ignored!!!]
-Step4: [
silient only one sub step but not all
in this case, it will make sub step 1 msg1 silent but not the msg2
]
cmd( 1):
-
-
.. ok
cmd( 2):
-
sub step2
-
.. ok
. ok
-Step5: [
silient only one sub step but not all
in this case, it will make sub step 2 msg2 silent but not the msg1
]
cmd( 1):
-
sub step1
-
.. ok
cmd( 2):
-
-
.. ok
. ok
-Step6: [
if there are combined flags of silent and silent-x, silent will take priority, then there will be no output for all of the sub steps
]
cmd( 1):
-
-
.. ok
cmd( 2):
-
-
.. ok
. ok
Logs with different verbose level
References