Event information model for Toaster: Difference between revisions

From Yocto Project
Jump to navigationJump to search
No edit summary
No edit summary
Line 3: Line 3:
This is the information we need for completing the tables of the WebHOB database.
This is the information we need for completing the tables of the WebHOB database.
==== BUILDS ====
==== BUILDS ====
:uuid : <span style="color: green">DONE</span> : unique task id
:target : <span style="color: red">N/A</span> : unique task id
:machine : <span style="color: red">N/A</span>
:distro : <span style="color: red">N/A</span>
:distro_version : <span style="color: red">N/A</span>
:host_system : <span style="color: red">N/A</span>
:host_distribution : <span style="color: red">N/A</span>
:target_system : <span style="color: red">N/A</span>
:layers :  : <span style="color: red">N/A</span> # index into the layer table


==== TASKS ====
==== TASKS ====
Line 10: Line 22:
:order : <span style="color: green">DONE</span> -> counted on each TaskStarted event
:order : <span style="color: green">DONE</span> -> counted on each TaskStarted event
:task_executed : <span style="color: green">DONE</span> -> set to True for each TaskStarted event
:task_executed : <span style="color: green">DONE</span> -> set to True for each TaskStarted event
:outcome : <span style="color: green">DONE</span>? -> retrieved from event.getDisplayName() #is this OK ?
:outcome : <span style="color: green">DONE</span>? -> retrieved from event.getDisplayName() # is this OK ?
:sstate_checksum : <span style="color: red">NOT AVAILABLE</span>
:sstate_checksum : <span style="color: red">NOT AVAILABLE</span>
:path_to_sstate_obj : <span style="color: red">NOT AVAILABLE</span>
:path_to_sstate_obj : <span style="color: red">NOT AVAILABLE</span>
Line 34: Line 46:
==== RECIPES ====
==== RECIPES ====


==== LAYERS ====
:name
:branch
:commit
:priority


==== IMAGES ====
==== IMAGES ====


==== VARIABLES ====
==== VARIABLES ====

Revision as of 16:09, 12 June 2013


This is the information we need for completing the tables of the WebHOB database.

BUILDS

uuid : DONE : unique task id
target : N/A : unique task id
machine : N/A
distro : N/A
distro_version : N/A
host_system : N/A
host_distribution : N/A
target_system : N/A
layers :  : N/A # index into the layer table


TASKS

uuid : DONE -> generated at the beginning of each build.
task_id : NOT AVAILABLE
order : DONE -> counted on each TaskStarted event
task_executed : DONE -> set to True for each TaskStarted event
outcome : DONE? -> retrieved from event.getDisplayName() # is this OK ?
sstate_checksum : NOT AVAILABLE
path_to_sstate_obj : NOT AVAILABLE
recipe : DONE -> retrieved from event._package
task_name : DONE -> retrieved from event._task
source_url : NOT AVAILABLE
log_file: NOT AVAILABLE
work_directory : NOT AVAILABLE
script_type : NOT AVAILABLE
file_path : NOT AVAILABLE
line_number : NOT AVAILABLE
py_stack_trace : NOT AVAILABLE
disk_io : NOT AVAILABLE
cpu_usage : NOT AVAILABLE
elapsed_time : DONE -> difference between started and finished time
dependent_tasks : NOT AVAILABLE
errors_no : NOT AVAILABLE
warnings_no : NOT AVAILABLE
error : NOT AVAILABLE
warning : NOT AVAILABLE
sstate_result : NOT AVAILABLE

RECIPES

LAYERS

name
branch
commit
priority

IMAGES

VARIABLES