c0178_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 -> c0178
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/c0178
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: [
this will get a response of:
Output: {
"LoadBalancerDescriptions": [
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
...........
"Instances": [
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
],
...........
}
]
}
]
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
self: final context exec vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
~SubStep1: [print: mock only - pretent to call it ]
aws elb describe-load-balancers --load-balancer-names my-web-app-elb
-Step2:
current exec runtime vars:
(*core.Cache)({
"up_runtime_task_layer_number": 0,
"last_result": {
"Output": "{\n \"LoadBalancerDescriptions\": [\n {\n \"LoadBalancerName\": \"xx-elb\",\n \"DNSName\": \"x-y-z.elb.amazonaws.com\",\n \"Instances\": [\n {\n \"InstanceId\": \"i-1234567890\"\n },\n {\n \"InstanceId\": \"i-9876543210\"\n }\n ],\n }\n ]\n }\n"
}
})
dvar> elb:
"{\n \"LoadBalancerDescriptions\": [\n {\n \"LoadBalancerName\": \"xx-elb\",\n \"DNSName\": \"x-y-z.elb.amazonaws.com\",\n \"Instances\": [\n {\n \"InstanceId\": \"i-1234567890\"\n },\n {\n \"InstanceId\": \"i-9876543210\"\n }\n ],\n }\n ]\n }\n"
-
{
"LoadBalancerDescriptions": [
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": [
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
],
}
]
}
dvar[object]> elb:
{
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
}
self: final context exec vars:
(*core.Cache)({
"last_result": {
"Output": "{\n \"LoadBalancerDescriptions\": [\n {\n \"LoadBalancerName\": \"xx-elb\",\n \"DNSName\": \"x-y-z.elb.amazonaws.com\",\n \"Instances\": [\n {\n \"InstanceId\": \"i-1234567890\"\n },\n {\n \"InstanceId\": \"i-9876543210\"\n }\n ],\n }\n ]\n }\n"
},
"elb": {
"LoadBalancerDescriptions": {
{
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
},
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com"
}
}
},
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"up_runtime_task_layer_number": 0
})
~SubStep1: [printObj: ]
(string) (len=11) "instances_1"
object:
instances_1: (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
})
~SubStep2: [printObj: ]
(string) (len=11) "instances_2"
object:
instances_2: (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
})
-Step3:
current exec runtime vars:
(*core.Cache)({
"elb": {
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
})
})
self: final context exec vars:
(*core.Cache)({
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"elb": {
"LoadBalancerDescriptions": {
{
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
},
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com"
}
}
},
"up_runtime_task_layer_number": 0
})
~SubStep1: [inspect: ]
1: inspect[debug_vars]
-debug vars-
"UpRunTimeVars"
(*core.Cache)({
"up_runtime_task_layer_number": 0
})
"RuntimeVarsAndDvarsMerged"
(*core.Cache)({
"elb": {
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
},
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
})
})
"ExecbaseVars"
(*core.Cache)({
"elb": {
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
},
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
})
})
"TaskVars"
(*core.Cache)({
"elb": {
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
}
})
"ExecContextVars"
(*core.Cache)({
"elb": {
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
},
"up_runtime_task_layer_number": 0,
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
})
})
--
-Step4:
current exec runtime vars:
(*core.Cache)({
"elb": {
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
},
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"up_runtime_task_layer_number": 0
})
dvar> instances_3:
"- InstanceId: i-1234567890\n- InstanceId: i-9876543210\n"
-
- InstanceId: i-1234567890
- InstanceId: i-9876543210
dvar[object]> instances_3:
{
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
self: final context exec vars:
(*core.Cache)({
"instances_2": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}),
"up_runtime_task_layer_number": 0,
"instances_3": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
},
"elb": {
"LoadBalancerDescriptions": {
{
"LoadBalancerName": "xx-elb",
"DNSName": "x-y-z.elb.amazonaws.com",
"Instances": {
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
}
}
}
},
"instances_1": (*[]interface {})({
{
"InstanceId": "i-1234567890"
},
{
"InstanceId": "i-9876543210"
}
})
})
~SubStep1: [print: ]
i-1234567890
~SubStep1: [print: ]
i-9876543210
Logs with different verbose level
References