c0074_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 -> c0074
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/c0074
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)({
"usecase": "doc_meta: |\n folder: object-oriented\n title: parse yml to object\n head: |\n Showcase you can load a yml file and parse the content to object\n\n sections:\n - title: How to use\n content: |\n Simply use dvar ref to load the content and also flag it to be converted toObj\n\n The print cmd shows how to use the object and reference in golang template to iterate through the elements\n\n - title: Relavant\n content: toObj cmd\n refs:\n - title: toObj cmd\n link: ../../cmd-func/c0095\n\n - title: Demo\n log: yes\n\ndocs:\n goal:\n - to test that I can parse this file to an object and use it in templating\n - use the format like this to automate the docs generation\n\n usecase:\n - used to generate auto document for up project\n\n usage:\n - use docs as root element to document a functest or a test case\n - two layers structure\n\ndvars:\n - name: usecase\n ref: c0074.yml\n flags: [toObj,]\n\ntasks:\n -\n name: task\n desc:\n task:\n -\n func: cmd\n do:\n -\n name: print\n cmd: \"<no value>\"\n\n -\n name: print\n cmd: \"<no value>\"\n\n -\n name: print\n cmd: |-\n \n\n -\n name: print\n cmd: |-\n \n",
"usecase_object": {
"doc_meta": "folder: object-oriented\ntitle: parse yml to object\nhead: |\n Showcase you can load a yml file and parse the content to object\n\nsections:\n - title: How to use\n content: |\n Simply use dvar ref to load the content and also flag it to be converted toObj\n\n The print cmd shows how to use the object and reference in golang template to iterate through the elements\n\n - title: Relavant\n content: toObj cmd\n refs:\n - title: toObj cmd\n link: ../../cmd-func/c0095\n\n - title: Demo\n log: yes\n",
"docs": {
"usecase": {
"used to generate auto document for up project"
},
"usage": {
"use docs as root element to document a functest or a test case",
"two layers structure"
},
"goal": {
"to test that I can parse this file to an object and use it in templating",
"use the format like this to automate the docs generation"
}
},
"dvars": {
{
"name": "usecase",
"ref": "c0074.yml",
"flags": {
"toObj"
}
}
},
"tasks": {
{
"name": "task",
"desc": <nil>,
"task": {
{
"func": "cmd",
"do": {
{
"name": "print",
"cmd": "<no value>"
},
{
"name": "print",
"cmd": "<no value>"
},
{
"cmd": "",
"name": "print"
},
{
"name": "print",
"cmd": ""
}
}
}
}
}
}
}
})
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,
"usecase": "doc_meta: |\n folder: object-oriented\n title: parse yml to object\n head: |\n Showcase you can load a yml file and parse the content to object\n\n sections:\n - title: How to use\n content: |\n Simply use dvar ref to load the content and also flag it to be converted toObj\n\n The print cmd shows how to use the object and reference in golang template to iterate through the elements\n\n - title: Relavant\n content: toObj cmd\n refs:\n - title: toObj cmd\n link: ../../cmd-func/c0095\n\n - title: Demo\n log: yes\n\ndocs:\n goal:\n - to test that I can parse this file to an object and use it in templating\n - use the format like this to automate the docs generation\n\n usecase:\n - used to generate auto document for up project\n\n usage:\n - use docs as root element to document a functest or a test case\n - two layers structure\n\ndvars:\n - name: usecase\n ref: c0074.yml\n flags: [toObj,]\n\ntasks:\n -\n name: task\n desc:\n task:\n -\n func: cmd\n do:\n -\n name: print\n cmd: \"<no value>\"\n\n -\n name: print\n cmd: \"<no value>\"\n\n -\n name: print\n cmd: |-\n \n\n -\n name: print\n cmd: |-\n \n",
"usecase_object": {
"dvars": {
{
"flags": {
"toObj"
},
"name": "usecase",
"ref": "c0074.yml"
}
},
"tasks": {
{
"name": "task",
"desc": <nil>,
"task": {
{
"func": "cmd",
"do": {
{
"name": "print",
"cmd": "<no value>"
},
{
"name": "print",
"cmd": "<no value>"
},
{
"cmd": "",
"name": "print"
},
{
"name": "print",
"cmd": ""
}
}
}
}
}
},
"doc_meta": "folder: object-oriented\ntitle: parse yml to object\nhead: |\n Showcase you can load a yml file and parse the content to object\n\nsections:\n - title: How to use\n content: |\n Simply use dvar ref to load the content and also flag it to be converted toObj\n\n The print cmd shows how to use the object and reference in golang template to iterate through the elements\n\n - title: Relavant\n content: toObj cmd\n refs:\n - title: toObj cmd\n link: ../../cmd-func/c0095\n\n - title: Demo\n log: yes\n",
"docs": {
"goal": {
"to test that I can parse this file to an object and use it in templating",
"use the format like this to automate the docs generation"
},
"usecase": {
"used to generate auto document for up project"
},
"usage": {
"use docs as root element to document a functest or a test case",
"two layers structure"
}
}
}
})
self: final context exec vars:
(*core.Cache)({
"usecase_object": {
"dvars": {
{
"name": "usecase",
"ref": "c0074.yml",
"flags": {
"toObj"
}
}
},
"tasks": {
{
"desc": <nil>,
"task": {
{
"func": "cmd",
"do": {
{
"cmd": "<no value>",
"name": "print"
},
{
"cmd": "<no value>",
"name": "print"
},
{
"name": "print",
"cmd": ""
},
{
"name": "print",
"cmd": ""
}
}
}
},
"name": "task"
}
},
"doc_meta": "folder: object-oriented\ntitle: parse yml to object\nhead: |\n Showcase you can load a yml file and parse the content to object\n\nsections:\n - title: How to use\n content: |\n Simply use dvar ref to load the content and also flag it to be converted toObj\n\n The print cmd shows how to use the object and reference in golang template to iterate through the elements\n\n - title: Relavant\n content: toObj cmd\n refs:\n - title: toObj cmd\n link: ../../cmd-func/c0095\n\n - title: Demo\n log: yes\n",
"docs": {
"goal": {
"to test that I can parse this file to an object and use it in templating",
"use the format like this to automate the docs generation"
},
"usecase": {
"used to generate auto document for up project"
},
"usage": {
"use docs as root element to document a functest or a test case",
"two layers structure"
}
}
},
"up_runtime_task_layer_number": 0,
"usecase": "doc_meta: |\n folder: object-oriented\n title: parse yml to object\n head: |\n Showcase you can load a yml file and parse the content to object\n\n sections:\n - title: How to use\n content: |\n Simply use dvar ref to load the content and also flag it to be converted toObj\n\n The print cmd shows how to use the object and reference in golang template to iterate through the elements\n\n - title: Relavant\n content: toObj cmd\n refs:\n - title: toObj cmd\n link: ../../cmd-func/c0095\n\n - title: Demo\n log: yes\n\ndocs:\n goal:\n - to test that I can parse this file to an object and use it in templating\n - use the format like this to automate the docs generation\n\n usecase:\n - used to generate auto document for up project\n\n usage:\n - use docs as root element to document a functest or a test case\n - two layers structure\n\ndvars:\n - name: usecase\n ref: c0074.yml\n flags: [toObj,]\n\ntasks:\n -\n name: task\n desc:\n task:\n -\n func: cmd\n do:\n -\n name: print\n cmd: \"<no value>\"\n\n -\n name: print\n cmd: \"<no value>\"\n\n -\n name: print\n cmd: |-\n \n\n -\n name: print\n cmd: |-\n \n"
})
~SubStep1: [print: ]
map[doc_meta:folder: object-oriented
title: parse yml to object
head: |
Showcase you can load a yml file and parse the content to object
sections:
- title: How to use
content: |
Simply use dvar ref to load the content and also flag it to be converted toObj
The print cmd shows how to use the object and reference in golang template to iterate through the elements
- title: Relavant
content: toObj cmd
refs:
- title: toObj cmd
link: ../../cmd-func/c0095
- title: Demo
log: yes
docs:map[goal:[to test that I can parse this file to an object and use it in templating use the format like this to automate the docs generation] usage:[use docs as root element to document a functest or a test case two layers structure] usecase:[used to generate auto document for up project]] dvars:[map[flags:[toObj] name:usecase ref:c0074.yml]] tasks:[map[desc:<nil> name:task task:[map[do:[map[cmd:<no value> name:print] map[cmd:<no value> name:print] map[cmd: name:print] map[cmd: name:print]] func:cmd]]]]]
~SubStep2: [print: ]
map[goal:[to test that I can parse this file to an object and use it in templating use the format like this to automate the docs generation] usage:[use docs as root element to document a functest or a test case two layers structure] usecase:[used to generate auto document for up project]]
~SubStep3: [print: ]
[to test that I can parse this file to an object and use it in templating use the format like this to automate the docs generation]
[use docs as root element to document a functest or a test case two layers structure]
[used to generate auto document for up project]
~SubStep4: [print: ]
goal:
* 1: to test that I can parse this file to an object and use it in templating
* 2: use the format like this to automate the docs generation
usage:
* 1: use docs as root element to document a functest or a test case
* 2: two layers structure
usecase:
* 1: used to generate auto document for up project
Logs with different verbose level
References