c0027_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 -> c0027
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/c0027
module: [self], instance id: [dev], exec profile: []
profile - envVars:
(*core.Cache)({
})
---------group vars----------
global: (*core.Cache)({
})
groups members:[]
merged[ dev ] runtime vars:
(*core.Cache)({
"student": {
"name": "Tom",
"gender": "Male",
"address": {
"suburb": {
"postcode": 2000,
"cbd": true,
"name": "sydney"
},
"school": "Sydney Grammar"
}
}
})
-------runtime global final merged with dvars-------
(*core.Cache)({
"school_address": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: yes\n school: Sydney Grammar\n tom:\n name: Tom\n",
"school_address_object": {
"address": {
"school": "Sydney Grammar",
"tom": {
"name": "Tom"
},
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": true
}
}
},
"tom": {
"school": "Sydney Grammar",
"name": "Tom",
"gender": "Male"
},
"a_smart_guy": "name: Tom\ngender: Male\nschool: Sydney Grammar\n",
"a_smart_guy_object": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"student": {
"name": "Tom",
"gender": "Male",
"address": {
"suburb": {
"postcode": 2000,
"cbd": true,
"name": "sydney"
},
"school": "Sydney Grammar"
}
}
})
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,
"school_address": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: yes\n school: Sydney Grammar\n tom:\n name: Tom\n",
"school_address_object": {
"address": {
"suburb": {
"name": "sydney",
"postcode": 2000,
"CBD": true
},
"school": "Sydney Grammar",
"tom": {
"name": "Tom"
}
}
},
"tom": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"a_smart_guy": "name: Tom\ngender: Male\nschool: Sydney Grammar\n",
"a_smart_guy_object": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"student": {
"address": {
"suburb": {
"postcode": 2000,
"cbd": true,
"name": "sydney"
},
"school": "Sydney Grammar"
},
"name": "Tom",
"gender": "Male"
}
})
self: final context exec vars:
(*core.Cache)({
"school_address_object": {
"address": {
"suburb": {
"CBD": true,
"name": "sydney",
"postcode": 2000
},
"school": "Sydney Grammar",
"tom": {
"name": "Tom"
}
}
},
"tom": {
"name": "Tom",
"gender": "Male",
"school": "Sydney Grammar"
},
"a_smart_guy": "name: Tom\ngender: Male\nschool: Sydney Grammar\n",
"a_smart_guy_object": {
"gender": "Male",
"school": "Sydney Grammar",
"name": "Tom"
},
"student": {
"gender": "Male",
"address": {
"school": "Sydney Grammar",
"suburb": {
"cbd": true,
"name": "sydney",
"postcode": 2000
}
},
"name": "Tom"
},
"up_runtime_task_layer_number": 0,
"school_address": "address:\n suburb:\n name: sydney\n postcode: 2000\n CBD: yes\n school: Sydney Grammar\n tom:\n name: Tom\n"
})
cmd( 1):
echo """a smart guy=>{{.a_smart_guy}}"""
cmd=>:
echo """a smart guy=>name: Tom
gender: Male
school: Sydney Grammar
"""
-
a smart guy=>name: Tom
gender: Male
school: Sydney Grammar
-
.. ok
cmd( 2):
echo """postcode=>{{.student.address.suburb.postcode}}"""
cmd=>:
echo """postcode=>2000"""
-
postcode=>2000
-
.. ok
cmd( 3):
echo """school address {{.school_address}}"""
cmd=>:
echo """school address address:
suburb:
name: sydney
postcode: 2000
CBD: yes
school: Sydney Grammar
tom:
name: Tom
"""
-
school address address:
suburb:
name: sydney
postcode: 2000
CBD: yes
school: Sydney Grammar
tom:
name: Tom
-
.. ok
cmd( 4):
echo """this guy is in =>{{.a_smart_guy_object.school}} school"""
cmd=>:
echo """this guy is in =>Sydney Grammar school"""
-
this guy is in =>Sydney Grammar school
-
.. ok
cmd( 5):
echo """school address object {{.school_address_object.suburb.name}}"""
cmd=>:
echo """school address object <no value>"""
-
school address object <no value>
-
.. ok
cmd( 6):
echo """school address object -> {{.school_address_object.address.suburb.name}}"""
cmd=>:
echo """school address object -> sydney"""
-
school address object -> sydney
-
.. ok
cmd( 7):
echo """tom - {{.tom}}"""
cmd=>:
echo """tom - map[gender:Male name:Tom school:Sydney Grammar]"""
-
tom - map[gender:Male name:Tom school:Sydney Grammar]
-
.. ok
. ok
Logs with different verbose level
References