c0129_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 -> c0129
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/c0129
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"b": "global_bbb",
"c": "global_ccc",
"a": "global_aaa"
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"c": "global_ccc",
"a": "global_aaa",
"b": "global_bbb"
})
located task-> 1 [task]:
Task1: [task ==> task: ]
Executing task stack layer: 1
-Step1: [: show example the route goes to call goelse for the condition of not if condition succeeds ]
current exec runtime vars:
(*core.Cache)({
"b": "local_bbb",
"c": "global_ccc",
"up_runtime_task_layer_number": 0,
"a": "local_aaa"
})
self: final context exec vars:
(*core.Cache)({
"c": "global_ccc",
"up_runtime_task_layer_number": 0,
"da": "local_da",
"db": "local_db",
"a": "local_aaa",
"b": "local_bbb"
})
-Step1:
current exec runtime vars:
(*core.Cache)({
"da": "local_da",
"a": "local_aaa",
"b": "local_bbb",
"c": "global_ccc",
"up_runtime_task_layer_number": 0,
"db": "local_db"
})
self: final context exec vars:
(*core.Cache)({
"da": "local_da",
"a": "local_aaa",
"b": "local_bbb",
"c": "global_ccc",
"up_runtime_task_layer_number": 0,
"db": "local_db"
})
cmd( 1):
echo "shell step1"
cmd=>:
echo "shell step1"
-
shell step1
-
.. ok
cmd( 2):
echo "shell step2"
cmd=>:
echo "shell step2"
-
shell step2
-
.. ok
. ok
-Step2:
current exec runtime vars:
(*core.Cache)({
"last_result": (*utils.ExecResult)({
Cmd: "echo \"shell step2\"",
Code: 0,
Output: "shell step2",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0,
"da": "local_da",
"db": "local_db",
"a": "block_layer1_aaa",
"b": "local_bbb",
"c": "global_ccc"
})
self: final context exec vars:
(*core.Cache)({
"db": "local_db",
"a": "block_layer1_aaa",
"b": "local_bbb",
"c": "global_ccc",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"shell step2\"",
Code: 0,
Output: "shell step2",
ErrMsg: ""
}),
"up_runtime_task_layer_number": 0,
"da": "local_da"
})
~SubStep1: [print: ]
layer 1
up_runtime_task_layer_number: 0
a: block_layer1_aaa
b: local_bbb
c: global_ccc
da: local_da
db: local_db
-Step3:
current exec runtime vars:
(*core.Cache)({
"b": "local_bbb",
"up_runtime_task_layer_number": 0,
"da": "local_da",
"db": "local_db",
"c": "global_ccc",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"shell step2\"",
Code: 0,
Output: "shell step2",
ErrMsg: ""
}),
"a": "local_aaa"
})
self: final context exec vars:
(*core.Cache)({
"b": "local_bbb",
"up_runtime_task_layer_number": 0,
"da": "local_da",
"db": "local_db",
"c": "global_ccc",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"shell step2\"",
Code: 0,
Output: "shell step2",
ErrMsg: ""
}),
"a": "local_aaa"
})
cmd( 1):
echo "shell step3"
cmd=>:
echo "shell step3"
-
shell step3
-
.. ok
cmd( 2):
echo "shell step4"
cmd=>:
echo "shell step4"
-
shell step4
-
.. ok
. ok
-Step4: [: test embeded 2nd layer of block ]
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"da": "local_da",
"db": "local_db",
"c": "global_ccc",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"shell step4\"",
Code: 0,
Output: "shell step4",
ErrMsg: ""
}),
"a": "local_block_layer2_aaa",
"b": "local_block_layer2_bbb"
})
self: final context exec vars:
(*core.Cache)({
"a": "local_block_layer2_aaa",
"b": "local_block_layer2_bbb",
"up_runtime_task_layer_number": 0,
"da": "local_da_layer2",
"db": "local_db_layer2",
"c": "global_ccc",
"last_result": (*utils.ExecResult)({
Cmd: "echo \"shell step4\"",
Code: 0,
Output: "shell step4",
ErrMsg: ""
})
})
-Step1:
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"da": "local_da_layer2",
"db": "local_db_layer2",
"a": "block_layer2_aaa",
"b": "local_block_layer2_bbb",
"c": "global_ccc"
})
self: final context exec vars:
(*core.Cache)({
"b": "local_block_layer2_bbb",
"c": "global_ccc",
"up_runtime_task_layer_number": 0,
"da": "local_da_layer2",
"db": "local_db_layer2",
"a": "block_layer2_aaa"
})
~SubStep1: [print: ]
layer 2
up_runtime_task_layer_number: 0
a: block_layer2_aaa
b: local_block_layer2_bbb
c: global_ccc
da: local_da_layer2
db: local_db_layer2
-Step5:
current exec runtime vars:
(*core.Cache)({
"c": "global_ccc",
"up_runtime_task_layer_number": 0,
"da": "local_da",
"db": "local_db",
"a": "local_aaa",
"b": "local_bbb"
})
self: final context exec vars:
(*core.Cache)({
"da": "local_da",
"db": "local_db",
"a": "local_aaa",
"b": "local_bbb",
"c": "global_ccc",
"up_runtime_task_layer_number": 0
})
cmd( 1):
echo "shell step5"
cmd=>:
echo "shell step5"
-
shell step5
-
.. ok
cmd( 2):
echo "shell step6"
cmd=>:
echo "shell step6"
-
shell step6
-
.. ok
. ok
Logs with different verbose level
References