c0040_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 -> c0040
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/c0040
module: [self], instance id: [dev], exec profile: []
Task1: [task ==> task: test the exit scenarios due to different types of validation ]
-Step1: [getcases: ]
cmd( 1):
-
f0001.yml
f0002.yml
f0009.yml
f0016.yml
f0018.yml
f0031.yml
f0037.yml
f0045.yml
f0053.yml
f0060.yml
f0061.yml
f0067.yml
f0077.yml
f0088.yml
f0097.yml
f0116.yml
f0117.yml
f0125.yml
f0171.yml
f0172.yml
f0176.yml
f0178.yml
f0185.yml
f0186.yml
f0188.yml
-
.. ok
. ok
-Step2: [: a real showcase of how to loop using template ]
cmd( 1):
template rendering -> template: .:1:33: executing "." at <splitLines>: wrong type for value; expected string; got *utils.ExecResult
WARN:
1:{{ range $idx, $file := .cases | splitLines -}}
2:{{$casename := $file | replace ".yml" ""}}
3:echo "==========failure case test {{$idx |add1}}==============="
4:echo "processing {{$casename}} .."
5:{{end}}
6:
trouble shooting tips:
<incompatible types for comparison>: the variable might not be registered, use -v vvv to see the cache, or use inspect cmd to debug
template rendering -> template: .:1:33: executing "." at <splitLines>: wrong type for value; expected string; got *utils.ExecResult
WARN:
1:{{ range $idx, $file := .cases | splitLines -}}
2:{{$casename := $file | replace ".yml" ""}}
3:echo "==========failure case test {{$idx |add1}}==============="
4:echo "processing {{$casename}} .."
5:{{end}}
6:
trouble shooting tips:
<incompatible types for comparison>: the variable might not be registered, use -v vvv to see the cache, or use inspect cmd to debug
-
-
.. ok
. ok
Logs with different verbose level
References