c0085_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 -> c0085
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/c0085
module: [self], instance id: [dev], exec profile: []
Task1: [task ==> task: generate logs ]
-Step1:
dvar> linelist:
"[hello this is a beautiful world]"
-
[hello this is a beautiful world]
cmd( 1):
echo '{{.lines}}'
-
hello
this
is a
beautiful world
-
.. ok
cmd( 2):
echo '{{.linelist}}'
-
[hello this is a beautiful world]
-
.. ok
. ok
-Step2:
{
"hello",
"this",
"is a",
"beautiful world"
}
dvar> linelist:
"{\n \"hello\",\n \"this\",\n \"is a\",\n \"beautiful world\"\n}\n\n"
-
{
"hello",
"this",
"is a",
"beautiful world"
}
cmd( 1):
echo '{{.lines}}'
-
hello
this
is a
beautiful world
-
.. ok
cmd( 2):
echo '{{.linelist}}'
-
{
"hello",
"this",
"is a",
"beautiful world"
}
-
.. ok
. ok
-Step3: [regtest: ]
dvar> linelist:
"- hello\n- this\n- is a\n- beautiful world\n"
-
- hello
- this
- is a
- beautiful world
cmd( 1):
echo '{{.lines}}'
-
hello
this
is a
beautiful world
-
.. ok
cmd( 2):
echo '{{.linelist}}'
-
- hello
- this
- is a
- beautiful world
-
.. ok
cmd( 3):
echo '{{.linelist_object}}'
-
[hello this is a beautiful world]
-
.. ok
. ok
-Step4:
cmd( 1):
echo "{{.loopindex1}} -> {{.loopitem}}"
-
1 -> peter
-
.. ok
cmd( 1):
echo "{{.loopindex1}} -> {{.loopitem}}"
-
2 -> tom
-
.. ok
cmd( 1):
echo "{{.loopindex1}} -> {{.loopitem}}"
-
3 -> james
-
.. ok
. ok
-Step5:
cmd( 1):
echo "{{.loopindex1}} -> {{.loopitem}}"
-
1 -> hello
-
.. ok
cmd( 1):
echo "{{.loopindex1}} -> {{.loopitem}}"
-
2 -> this
-
.. ok
cmd( 1):
echo "{{.loopindex1}} -> {{.loopitem}}"
-
3 -> is a
-
.. ok
cmd( 1):
echo "{{.loopindex1}} -> {{.loopitem}}"
-
4 -> beautiful world
-
.. ok
. ok
Logs with different verbose level
References