<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>6359</bug_id>
          
          <creation_ts>2014-05-21 20:10:31 +0000</creation_ts>
          <short_desc>Include QA tests for kernel-dev manual tasks</short_desc>
          <delta_ts>2017-09-01 17:10:30 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>Kernel</product>
          <component>kernel-tooling</component>
          <version>2.3</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>enhancement</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          <dependson>10753</dependson>
    
    <dependson>10754</dependson>
          <blocked>11059</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Darren Hart">dvhart</reporter>
          <assigned_to name="Francisco Pedraza">francisco.j.pedraza.gonzalez</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>bluelightning</cc>
    
    <cc>costin.c.constantin</cc>
    
    <cc>georgex.l.musat</cc>
    
    <cc>juan.fernandox.ramos.frayle</cc>
    
    <cc>sonia.delgado</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Jose Perez C">jose.perez.carranza</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>Don&apos;t know</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>43467</commentid>
    <comment_count>0</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-05-21 20:10:31 +0000</bug_when>
    <thetext>Currently, Bruce has a number of QA type tests he runs, but they need to be incorporated into the official QA process. We also need to identify gaps and write new tests to cover all the tasks covered by the kernel-dev manual. For example:

* linux-yocto-custom
  * local source
  * local source with parallel meta
  * local source with recipe-space meta
* External Source
* defconfig
* defconfig + fragments
* linux-yocto meta data + local fragments
* building external modules (hello-mod)

A full audit is necessary to verify to manual with each new release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>43468</commentid>
    <comment_count>1</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-05-21 20:11:15 +0000</bug_when>
    <thetext>Bruce, first task is to you to get what you have over to QA. From there, we will need to work closely with QA to develop the remaining tests.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>44866</commentid>
    <comment_count>2</comment_count>
    <who name="Darren Hart">dvhart</who>
    <bug_when>2014-07-31 14:12:00 +0000</bug_when>
    <thetext>Adding a requirement:

Minimum linux kernel version supported - ensure the linux-yocto-custom recipe can be used to build a basic recipe of whatever this version is.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>47092</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2014-11-20 09:13:08 +0000</bug_when>
    <thetext>To be discussed internally with Lucian and Costin.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60247</commentid>
    <comment_count>4</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2016-03-21 23:30:50 +0000</bug_when>
    <thetext>Did anything ever come of the discussions ? We can revisit this in 2.2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>61064</commentid>
    <comment_count>5</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2016-04-12 08:00:20 +0000</bug_when>
    <thetext>Un(In reply to comment #4)
&gt; Did anything ever come of the discussions ? We can revisit this in 2.2

Hi Bruce, we had some local discussions but we didn&apos;t have yet the required resources to get this done into 2.1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66381</commentid>
    <comment_count>6</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2016-09-20 19:05:24 +0000</bug_when>
    <thetext>As discussed I am going to take care of this. An initial review has started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68159</commentid>
    <comment_count>7</comment_count>
    <who name="Sonia Delgado">sonia.delgado</who>
    <bug_when>2016-11-08 22:30:02 +0000</bug_when>
    <thetext>@Francisco, what is the result of your analysis for the missing test cases?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68508</commentid>
    <comment_count>8</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2016-11-22 19:57:28 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; @Francisco, what is the result of your analysis for the missing test cases?

Hi,
I will automate the commont tasks on kernel development. Also I will create a test plan for this on testopia.

Until now I have covered only 
1. Creating and preparing a layer
I am working with:
2. Modifying an Existing Recipe
I will add:
3. Creating the Append File
4. Applying Patches
5. Changing the Configuration
6. Using an &quot;In-Tree&quot;  defconfig File
7. Generating Configuration Files
8. Working with Out-of-Tree Modules
9. Building Out-of-Tree Modules on the Target
10. Incorporating Out-of-Tree Modules
11. Adding Recipe-Space Kernel Features</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>68772</commentid>
    <comment_count>9</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2016-12-01 13:36:38 +0000</bug_when>
    <thetext>I am going to split this one with the basic functionality for kernel-dev

1: https://bugzilla.yoctoproject.org/show_bug.cgi?id=10753
1. Creating and preparing a layer
2. Modifying an Existing Recipe
3. Creating the Append File
4. Applying Patches

2: https://bugzilla.yoctoproject.org/show_bug.cgi?id=10754
5. Changing the Configuration
6. Using an &quot;In-Tree&quot;  defconfig File
7. Generating Configuration Files
8. Working with Out-of-Tree Modules
9. Building Out-of-Tree Modules on the Target
10. Incorporating Out-of-Tree Modules
11. Adding Recipe-Space Kernel Features

3: This functionality is going to be added on 2.3 M2
* linux-yocto-custom
  * local source
  * local source with parallel meta
  * local source with recipe-space meta
* External Source
* defconfig
* defconfig + fragments
* linux-yocto meta data + local fragments
* building external modules (hello-mod)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70072</commentid>
    <comment_count>10</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-24 01:17:35 +0000</bug_when>
    <thetext>Some test cases already designed (will be only manual tasks).
Test Case ID: TC_KD_01	
Test Case Name: TC_KD_Applying_patches	
Description:
&quot;As a Developer I want to be able to apply single patch to Linux Kernel Source&quot;
Corresponded to: &quot;* linux-yocto-custom&quot;

Test Case ID: TC_KD_02
Test Case Name: TC_KD_linux-yocto-custom
Description: &quot;As a Developer I want to to be able to work with your own sources&quot;

Test Case ID: TC_KD_03
Test Case Name: TC_KD_local_parallel_meta
Description:&quot;As a Developer I want to be able to work with local source with parallel meta.&quot;

Requirements covered now:
* linux-yocto-custom
* External Source</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70167</commentid>
    <comment_count>11</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-25 23:08:42 +0000</bug_when>
    <thetext>One more test designed:
TC ID: TC_KD_defconfig
Description: &quot;As a Developer I want to be able to work generate and change  configuration files (defconfig)&quot;
Covered Requirement: &quot; * defconfig&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70291</commentid>
    <comment_count>12</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-31 16:42:01 +0000</bug_when>
    <thetext>I have submitted some test cases to Testopia [1], also I created a wiki as well (first version)[2]. I hope to have this finished the next week, with the final version of the test cases and the design of the remaining.
[1]- https://bugzilla.yoctoproject.org/tr_show_run.cgi?run_id=6713
[2] - https://wiki.yoctoproject.org/wiki/Kernel_Development_QA#About_Kernel_Development</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70292</commentid>
    <comment_count>13</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-01-31 16:44:11 +0000</bug_when>
    <thetext>(In reply to comment #12)
&gt; I have submitted some test cases to Testopia [1], also I created a wiki as
&gt; well (first version)[2]. I hope to have this finished the next week, with
&gt; the final version of the test cases and the design of the remaining.
&gt; [1]- https://bugzilla.yoctoproject.org/tr_show_run.cgi?run_id=6713
&gt; [2] -
&gt; https://wiki.yoctoproject.org/wiki/
&gt; Kernel_Development_QA#About_Kernel_Development

Adding the template as well: https://bugzilla.yoctoproject.org/tr_show_run.cgi?run_id=6714</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>70725</commentid>
    <comment_count>14</comment_count>
    <who name="Francisco Pedraza">francisco.j.pedraza.gonzalez</who>
    <bug_when>2017-02-15 23:24:43 +0000</bug_when>
    <thetext>Test Cases added to https://bugzilla.yoctoproject.org/tr_show_run.cgi?run_id=6714 testopia and updated on Test Plan as well. https://wiki.yoctoproject.org/wiki/Kernel_Development_QA#About_Kernel_Development</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>76448</commentid>
    <comment_count>15</comment_count>
    <who name="Juan Ramos">juan.fernandox.ramos.frayle</who>
    <bug_when>2017-09-01 17:10:30 +0000</bug_when>
    <thetext>Verified. https://bugzilla.yoctoproject.org/tr_show_run.cgi?run_id=7788</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>