Bug 9685 - Image recipes (Cancel, this was created by mistake)
Summary: Image recipes (Cancel, this was created by mistake)
Status: RESOLVED INVALID
Alias: None
Product: Toaster
Classification: Build System, Metadata & Runtime
Component: toaster (show other bugs)
Version: 2.0.2
Hardware: x86 Multiple
: Undecided normal
Target Milestone: ---
Assignee: Toaster default assignee
QA Contact: Libertad
URL:
Whiteboard:
Depends on:
Blocks:
 
Reported: 2016-05-30 19:10 UTC by Libertad
Modified: 2016-05-30 22:34 UTC (History)
4 users (show)

See Also:
OS type for building Yocto: ---
Type of Regression: ---
Verified:
Documentation change: Don't know


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Libertad 2016-05-30 19:10:23 UTC
STEPS TO REPRODUCE: === TOASTER: Test Instructions for "Tasks", "Time", "CPU Usage", and "Disk I/O" pages === 
 
NOTE TO TESTERS: The three pages "Time", "CPU Usage", and "Disk I/O" are simple variations on the "Tasks" page. Those test instructions will demonstrate the respective unique parts. 
 
 
1. Start with a default Yocto project (qemux86), start the Toaster, and build "bitbake core-image-minimal". 
 
2. In Toaster, select the build, and select the "Tasks" link in the left sidebar 
 
3. Breadcrumbs 
 
  * Observe that the 4 breadcrumbs at the top left are: 
     
        <project_name> : a live link that will take you back to the project page 
	<Builds>: a live link that will take you back to the project Builds page
        <image name>: a live link that will take you back to the image dashboard page 
        "Tasks" 
 
  * Test the breadcrumb live links, return to this page 
 
 
4. General Layout 
 
  * Observe the left-hand box with links to the other pages of the build 
   
  * Observe the title of the table is "Tasks", in bold 
   
  * Observe the search/filter bar above the table 
   
  * Observe the number of table rows in each page matches the number selected in the "Show rows" dropdown menu 
   
  * Observe at the bottom of the page the "Showing XX to XX out of xxx entries", the page selection links, and the "Show Rows" selection. 
 
 
5. Columns 
 
Note: to restore the default columns in your browser, for example in Firefox, select "Tools > Privacy > remove individual cookies", find the cookies for the IP address of the Toaster engine (for example "localhost"), and remove each sub-cookie with the prefix "_displaycols_*" (or the whole cookie if those are the only sub-cookies). 
 
  * Observe that the default columns are:  
   
    "Order, Recipe, Task, Executed, Outcome, Cache attempt" 
 
  * Click the "Edit Columns" button. 
   
  * Observe that the fields are sorted as follows (with the indicated items greyed) 
 
    [ ] CPU usage 
    [x] Cache attempt 
    [ ] Disk I/O (ms) 
    [x] Executed 
    [x] Order            {greyed} 
    [x] Outcome 
    [x] Recipe           {greyed} 
    [ ] Recipe version 
    [x] Task             {greyed} 
    [ ] Time (secs)  
 
  * For each of the greyed items, attempt to click them. Observe that they do not change. 
 
  * For each of the non-greyed items, attempt to click them. Observe that the respective column dynamically appears when checked and disappears when un-checked. 
 
 
6. Search 
 
  * Observe that the search text box background text is "Search tasks". 
   
  * Set the search text to "busybox" and click "Search". Observe that only the busybox tasks are listed (about 16). 
   
  * Click the "X" next to the search text box. Observe that all of the tasks re-appear. 
 
 
7. Column sorts 
 
  * Enable all of the columns. 
   
  * Observe that by default the "Order" column header is in bold, it has a down-arrow icon, and that the table is sorted by this column in ascending order. 
   
  * Observe that the columns are in this order, and are sortable only if indicated: 
   
    Order             {sortable} 
    Recipe            {sortable} 
    Recipe version 
    Task              {sortable} 
    Executed          {sortable} 
    Outcome           {sortable} 
    Cache attempt     {sortable} 
    Time (secs)       {sortable} 
    CPU usage         {sortable} 
    Disk I/O (ms)     {sortable} 
     
     
  * Test that each of the sortable columns do sort, ascending and descending 
 
  * Observe that each of the column headers have a question mark icon, and that hovering over it provides help text. 
 
  
8. "Executed" Filter  
 
  * Observe that the "Executed" column has the filter icon. Click on it and observe these values, where "All Tasks" is the default 
 
    (*) All Tasks  
    ( ) Executed Tasks  
    ( ) Not Executed Tasks  
 
  * Click on "Executed Tasks" and observe that only rows with the value "Executed" are displayed. 
 
  * Click on "Not Executed Tasks" and observe that only rows with the value "Not Executed" are displayed. 
 
  * Click on "All Tasks" and observe that all rows are displayed. 
 
 
9. "Outcome" Filter  
 
  * Observe that the "Outcome" column has the filter icon. Click on it and observe these values, where "All Tasks" is the default 
 
    (*) All Tasks  
    ( ) Succeeded Tasks  
    ( ) Failed Tasks  
    ( ) Cached Tasks  
    ( ) Prebuilt Tasks  
    ( ) Covered Tasks  
    ( ) Empty Tasks  
 
  * Click on each of the filter selections, and observe that the resulting row "Outcome" values match the selection.  
 
  * Click on "All Tasks" and observe that all rows are displayed. 
 
 
10. "Cache attempt" Filter  
 
  * Observe that the "Cache attempt" column has the filter icon. Click on it and observe these values, where "All Tasks" is the default 
 
    (*) All Tasks  
    ( ) Tasks with cache attempts  
    ( ) Tasks with 'File not in cache' attempts  
    ( ) Tasks with 'Failed' cache attempts  
    ( ) Tasks with 'Succeeded' cache attempts   
 
  * Click on each of the filter selections, and observe that the resulting row "Outcome" values match the selection. 
   
    Note the with a clean build, only the "All Tasks" and "Tasks with cache attempts" will return rows. 
 
  * Click on "All Tasks" and observe that all rows are displayed. 
 
 
11. Order, Task, Executed, Outcome, Cache attempt links 
 
  * Observe that for a given row, the above values are live links that will both take you to the respective task detail page. Click the back button to return.

  * Observe that for a given row the values in "Recipe" and "Recipe version" are live links that will both take you to the respective recipe details page. Click the back button to return 
 
 
12. Time Page 
 
  * "In Toaster, select the build, and select the "Time" link in the left sidebar 
 
  * Observe that the default columns are:  
   
    "Recipe", "Task", "Executed", " Outcome", "Time (secs)" 
 
  * Observe that the default sort is "Time (secs)", in descending order. 
   
  * In the "Edit Columns" button, turn on all of the columns. 
   
  * Observe that the page now matches the "Tasks" page, and passes the same tests. 
 
 
13. CPU Usage Page 
 
  * "In Toaster, select the build, and select the "CPU Usage" link in the left sidebar 
 
  * Observe that the default columns are:  
   
    "Recipe", "Task", "Executed", "Outcome", "CPU Usage" 
 
  * Observe that the default sort is "CPU Usage", in descending order. 
   
  * In the "Edit Columns" button, turn on all of the columns. 
   
  * Observe that the page now matches the "Tasks" page, and passes the same tests. 
 
 
14. Disk I/O Page 
  
   * "In Toaster, select the build, and select the "Disk I/O" link in the left sidebar 
  
   * Observe that the default columns are:  
    
     "Recipe", "Task", "Executed", "Outcome", "Disk I/O (ms)" 
  
   * Observe that the default sort is "Disk I/O (ms)", in descending order. 
    
   * In the "Edit Columns" button, turn on all of the columns. 
    
   * Observe that the page now matches the "Tasks" page, and passes the same tests. 

EXPECTED OUTCOME: NA
Comment 1 Libertad 2016-05-30 19:11:56 UTC
This was created by mistake this is not the description. It should be Canceled.
Comment 2 Paul Eggleton 2016-05-30 22:34:05 UTC
Closing as per request.