c0056_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 -> c0056
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/c0056
module: [self], instance id: [dev], exec profile: []
Task1: [task ==> task: ]
-Step1:
cmd( 1):
echo "hello {{.loopitem}}"
-
hello tom
-
.. ok
cmd( 1):
echo "hello {{.loopitem}}"
-
hello peter
-
.. ok
cmd( 1):
echo "hello {{.loopitem}}"
-
hello james
-
.. ok
. ok
-Step2:
cmd( 1):
echo "name {{.loopitem.name}}"
-
name tom
-
.. ok
cmd( 2):
echo "age {{.loopitem.age}}"
-
age 11
-
.. ok
cmd( 1):
echo "name {{.loopitem.name}}"
-
name peter
-
.. ok
cmd( 2):
echo "age {{.loopitem.age}}"
-
age 45
-
.. ok
cmd( 1):
echo "name {{.loopitem.name}}"
-
name james
-
.. ok
cmd( 2):
echo "age {{.loopitem.age}}"
-
age 23
-
.. ok
. ok
-Step3:
cmd( 1):
echo "hello {{.loopitem}}"
-
hello Australia
-
.. ok
cmd( 1):
echo "hello {{.loopitem}}"
-
hello British
-
.. ok
cmd( 1):
echo "hello {{.loopitem}}"
-
hello China
-
.. ok
cmd( 1):
echo "hello {{.loopitem}}"
-
hello Danmark
-
.. ok
. ok
-Step4: [
the loop point to a iteratable var countries
]
cmd( 1):
echo "hello {{.loopitem.name}}"
-
hello Australia
-
.. ok
cmd( 2):
echo "hello {{.loopitem.population}}"
-
hello 20m
-
.. ok
cmd( 1):
echo "hello {{.loopitem.name}}"
-
hello British
-
.. ok
cmd( 2):
echo "hello {{.loopitem.population}}"
-
hello 2000m
-
.. ok
cmd( 1):
echo "hello {{.loopitem.name}}"
-
hello China
-
.. ok
cmd( 2):
echo "hello {{.loopitem.population}}"
-
hello 1.4b
-
.. ok
cmd( 1):
echo "hello {{.loopitem.name}}"
-
hello Danmark
-
.. ok
cmd( 2):
echo "hello {{.loopitem.population}}"
-
hello 30m
-
.. ok
. ok
-Step5: [
the templated value will be eventually a var/dvar name
]
cmd( 1):
echo "hello {{.loopindex}}"
-
hello 0
-
.. ok
cmd( 2):
echo "hello {{.loopindex1}}"
-
hello 1
-
.. ok
cmd( 3):
echo "hello {{.loopitem.name}}"
-
hello Australia
-
.. ok
cmd( 4):
echo "hello {{.loopitem.population}}"
-
hello 20m
-
.. ok
cmd( 1):
echo "hello {{.loopindex}}"
-
hello 1
-
.. ok
cmd( 2):
echo "hello {{.loopindex1}}"
-
hello 2
-
.. ok
cmd( 3):
echo "hello {{.loopitem.name}}"
-
hello British
-
.. ok
cmd( 4):
echo "hello {{.loopitem.population}}"
-
hello 2000m
-
.. ok
cmd( 1):
echo "hello {{.loopindex}}"
-
hello 2
-
.. ok
cmd( 2):
echo "hello {{.loopindex1}}"
-
hello 3
-
.. ok
cmd( 3):
echo "hello {{.loopitem.name}}"
-
hello China
-
.. ok
cmd( 4):
echo "hello {{.loopitem.population}}"
-
hello 1.4b
-
.. ok
cmd( 1):
echo "hello {{.loopindex}}"
-
hello 3
-
.. ok
cmd( 2):
echo "hello {{.loopindex1}}"
-
hello 4
-
.. ok
cmd( 3):
echo "hello {{.loopitem.name}}"
-
hello Danmark
-
.. ok
cmd( 4):
echo "hello {{.loopitem.population}}"
-
hello 30m
-
.. ok
. ok
Logs with different verbose level
References