c0164_vvvv
Log reference:
loading [Config]: ./tests/functests/upconfig.yml
Main config:
Version -> 1.0.0
RefDir -> ./tests/functests
WorkDir -> cwd
AbsWorkDir -> /up_project/up
TaskFile -> c0164
Verbose -> vvvv
ModuleName -> self
ShellType -> /bin/sh
MaxCallLayers -> 8
Timeout -> 3600000
MaxModuelCallLayers -> 256
EntryTask -> task
ModRepoUsernameRef ->
ModRepoPasswordRef ->
:release version: 1.0.0
:verbose level: vvvv
work dir: /up_project/up
-exec task: task
loading [Task]: ./tests/functests/c0164
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
})
-------runtime global final merged with dvars-------
(*core.Cache)({
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1:
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
dvar> countries:
"- Austraila\n- US\n- China\n- Japan\n"
-
- Austraila
- US
- China
- Japan
dvar[object]> countries:
{
"Austraila",
"US",
"China",
"Japan"
}
self: final context exec vars:
(*core.Cache)({
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 0,
"aaa": "var_a_from_task"
})
WARN: [cmd] - [Not implemented or void for no action!]
-Step2:
current exec runtime vars:
(*core.Cache)({
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 0,
"aaa": "var_a_from_task"
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
}
})
~SubStep1: [print: ]
[Austraila US China Japan]
~SubStep2: [typeOf: ]
1 - type of [countries] > [[]interface {}]
-Step3:
current exec runtime vars:
(*core.Cache)({
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 0,
"aaa": "var_a_from_task"
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
}
})
located task-> 2 [sub_task]:
=Task2: [task ==> sub_task: ]
Executing task stack layer: 2
--Step1:
current exec runtime vars:
(*core.Cache)({
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 1
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
}
})
--Step1: [
inspect if the correct parameter has been passed in correctly
with default value
in block func
]
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopitem": "Austraila",
"loopindex": 0,
"loopindex1": 1
})
self: final context exec vars:
(*core.Cache)({
"loopitem": "Austraila",
"loopindex": 0,
"loopindex1": 1,
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
}
})
~~SubStep1: [assert: ]
1 ASSERT OK: [{{eq .aaa "var_a_from_task"}}]
--Step2:
current exec runtime vars:
(*core.Cache)({
"loopitem": "Austraila",
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 1,
"loopindex": 0,
"loopindex1": 1
})
self: final context exec vars:
(*core.Cache)({
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 1,
"loopindex": 0,
"loopindex1": 1,
"loopitem": "Austraila"
})
cmd( 1):
echo "{{.aaa}}"
cmd=>:
echo "var_a_from_task"
-
var_a_from_task
-
.. ok
cmd( 2):
echo "{{.loopitem}}"
cmd=>:
echo "Austraila"
-
Austraila
-
.. ok
. ok
--Step1: [
inspect if the correct parameter has been passed in correctly
with default value
in block func
]
current exec runtime vars:
(*core.Cache)({
"loopindex": 1,
"loopindex1": 2,
"loopitem": "US",
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
}
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopindex": 1,
"loopindex1": 2,
"loopitem": "US"
})
~~SubStep1: [assert: ]
1 ASSERT OK: [{{eq .aaa "var_a_from_task"}}]
--Step2:
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopindex1": 2,
"loopitem": "US",
"loopindex": 1
})
self: final context exec vars:
(*core.Cache)({
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopindex1": 2,
"loopitem": "US",
"loopindex": 1,
"up_runtime_task_layer_number": 1
})
cmd( 1):
echo "{{.aaa}}"
cmd=>:
echo "var_a_from_task"
-
var_a_from_task
-
.. ok
cmd( 2):
echo "{{.loopitem}}"
cmd=>:
echo "US"
-
US
-
.. ok
. ok
--Step1: [
inspect if the correct parameter has been passed in correctly
with default value
in block func
]
current exec runtime vars:
(*core.Cache)({
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopitem": "China",
"loopindex": 2,
"loopindex1": 3,
"up_runtime_task_layer_number": 1
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopitem": "China",
"loopindex": 2,
"loopindex1": 3
})
~~SubStep1: [assert: ]
1 ASSERT OK: [{{eq .aaa "var_a_from_task"}}]
--Step2:
current exec runtime vars:
(*core.Cache)({
"loopindex": 2,
"loopindex1": 3,
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"loopitem": "China"
})
self: final context exec vars:
(*core.Cache)({
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"loopitem": "China",
"loopindex": 2,
"loopindex1": 3
})
cmd( 1):
echo "{{.aaa}}"
cmd=>:
echo "var_a_from_task"
-
var_a_from_task
-
.. ok
cmd( 2):
echo "{{.loopitem}}"
cmd=>:
echo "China"
-
China
-
.. ok
. ok
--Step1: [
inspect if the correct parameter has been passed in correctly
with default value
in block func
]
current exec runtime vars:
(*core.Cache)({
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopindex": 3,
"loopindex1": 4,
"loopitem": "Japan",
"up_runtime_task_layer_number": 1
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopindex": 3,
"loopindex1": 4,
"loopitem": "Japan"
})
~~SubStep1: [assert: ]
1 ASSERT OK: [{{eq .aaa "var_a_from_task"}}]
--Step2:
current exec runtime vars:
(*core.Cache)({
"loopindex1": 4,
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopitem": "Japan",
"loopindex": 3
})
self: final context exec vars:
(*core.Cache)({
"loopindex": 3,
"loopindex1": 4,
"up_runtime_task_layer_number": 1,
"aaa": "var_a_from_task",
"countries": {
"Austraila",
"US",
"China",
"Japan"
},
"loopitem": "Japan"
})
cmd( 1):
echo "{{.aaa}}"
cmd=>:
echo "var_a_from_task"
-
var_a_from_task
-
.. ok
cmd( 2):
echo "{{.loopitem}}"
cmd=>:
echo "Japan"
-
Japan
-
.. ok
. ok
Logs with different verbose level
References