Event information model for Toaster: Difference between revisions

From Yocto Project
Jump to navigationJump to search
No edit summary
No edit summary
Line 13: Line 13:
:target_system : <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
:layers :  : <span style="color: red">N/A</span> # index into the layer table
 
# TBC
 


==== TASKS ====
==== TASKS ====
Line 43: Line 42:
:warning : <span style="color: red">NOT AVAILABLE</span>
:warning : <span style="color: red">NOT AVAILABLE</span>
:sstate_result : <span style="color: red">NOT AVAILABLE</span>
:sstate_result : <span style="color: red">NOT AVAILABLE</span>
==== IMAGES ====
:uuid          # of build that generated the image
:packages      # list of packages in that image one to many
# TBC
==== PACKAGES ====
:package_id
:recipe        # recipe that generated this package
# TBC
==== FILELIST ====
:package      # id in the list of packages
:complete file path
:file size
# TBC


==== RECIPES ====
==== RECIPES ====
:name
:layer # point to a layer index
:depends
# TBC


==== LAYERS ====
==== LAYERS ====
Line 51: Line 72:
:commit
:commit
:priority
:priority
 
# TBC
==== IMAGES ====


==== VARIABLES ====
==== VARIABLES ====
:uuid
:variable_name
:variable_value

Revision as of 16:46, 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
  1. TBC

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


IMAGES

uuid # of build that generated the image
packages # list of packages in that image one to many
  1. TBC

PACKAGES

package_id
recipe # recipe that generated this package
  1. TBC

FILELIST

package # id in the list of packages
complete file path
file size
  1. TBC

RECIPES

name
layer # point to a layer index
depends
  1. TBC

LAYERS

name
branch
commit
priority
  1. TBC

VARIABLES

uuid
variable_name
variable_value