<?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>7202</bug_id>
          
          <creation_ts>2015-01-20 15:10:18 +0000</creation_ts>
          <short_desc>Test for linux-dummy</short_desc>
          <delta_ts>2016-11-03 18:15:54 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Build Testing</product>
          <component>general</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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</target_milestone>
          <dependson>7884</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Jose Perez C">jose.perez.carranza</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>leonardo.sandoval.gonzalez</cc>
    
    <cc>sgw</cc>
          
          <qa_contact name="David Rodriguez">david.israelx.rodriguez.castellanos</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>48077</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-01-20 15:10:18 +0000</bug_when>
    <thetext>The linux-dummy recipe is used when you&apos;re building your own kernel outside of the build system. We often forget to update linux-dummy recipe when we make changes to how the kernel is built, so we should add a test to ensure it continues to function as a replacement at build time for the kernel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>49938</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-03-31 05:42:02 +0000</bug_when>
    <thetext>Setting up for 1.9</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50180</commentid>
    <comment_count>2</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-04-09 14:49:21 +0000</bug_when>
    <thetext>Assigning this to Costin. Not sure if we can do this with oe-selftest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>50181</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-04-09 14:50:03 +0000</bug_when>
    <thetext>Assigning this to Costin. Not sure if we can do this with oe-selftest</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51190</commentid>
    <comment_count>4</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-05-21 11:38:22 +0000</bug_when>
    <thetext>I&apos;ll just have a look. In essence (i guess) all there is to add is a test to build the linux-dummy and check the exit code of bitbake.

Costin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51194</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-05-21 12:24:16 +0000</bug_when>
    <thetext>Well, we need to do a bit more than that - you&apos;d need to actually set PREFERRED_PROVIDER_virtual/kernel = &quot;linux-dummy&quot; and then build an image e.g. core-image-minimal. You&apos;d then need to check that linux-dummy did actually get built, and that there were no &quot;multiple providers are available for&quot; messages printed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51640</commentid>
    <comment_count>6</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-06-11 13:36:21 +0000</bug_when>
    <thetext>Hi Paul,

I tried your recommendations and the image didn&apos;t build. I think there is an issue and will open a separate bug. 

Costin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51847</commentid>
    <comment_count>7</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-06-22 12:07:39 +0000</bug_when>
    <thetext>Costin, can you paste the bug no here?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51848</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-06-22 12:08:25 +0000</bug_when>
    <thetext>(In reply to comment #7)
&gt; Costin, can you paste the bug no here?

bug 7884</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51849</commentid>
    <comment_count>9</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-06-22 12:09:55 +0000</bug_when>
    <thetext>(In reply to comment #8)
&gt; (In reply to comment #7)
&gt; &gt; Costin, can you paste the bug no here?
&gt; 
&gt; bug 7884
Updating the bug milestone which depends on bug 7884 (no milestone set)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52047</commentid>
    <comment_count>10</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-06-30 12:26:42 +0000</bug_when>
    <thetext>Hello,

After following the indications of 7884, the image built successfully. 
Still messages like:
&quot;NOTE: Resolving any missing task queue dependencies
NOTE: multiple providers are available for runtime kernel-base (linux-yocto, linux-yocto-tiny, linux-yocto-rt)
NOTE: consider defining a PREFERRED_PROVIDER entry to match kernel-base&quot;

are present during build time. I checked however if linux-dummy is built and found under /build/tmp/deploy/rpm$ ls
./i586/linux-dummy-dbg-1.0-r1.i586.rpm
./i586/linux-dummy-dev-1.0-r1.i586.rpm

I can see some &quot;activity&quot; under 
build/tmp/work/i586-poky-linux/linux-dummy/1.0-r1$ ls
COPYING.GPL  deploy-rpms  image  license-destdir  linux-dummy.spec  package  packages-split  pkgdata  pseudo  sysroot-destdir  temp
alongside all related tasks log under 
build/tmp/work/i586-poky-linux/linux-dummy/1.0-r1/temp 

so i guess it did built.

Thank you,
Costin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52050</commentid>
    <comment_count>11</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2015-06-30 14:13:11 +0000</bug_when>
    <thetext>Hi,

Auto test case implemented. Will submit it shortly.

Costin</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55077</commentid>
    <comment_count>12</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-10-08 15:47:35 +0000</bug_when>
    <thetext>Costin, did you submit this?  I can&apos;t see it in oe-core or on the list.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58569</commentid>
    <comment_count>13</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2016-02-04 13:11:49 +0000</bug_when>
    <thetext>It won&apos;t make M2</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59311</commentid>
    <comment_count>14</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2016-02-21 17:15:35 +0000</bug_when>
    <thetext>patch sent for review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>59312</commentid>
    <comment_count>15</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2016-02-21 17:55:11 +0000</bug_when>
    <thetext>... forgot to add patch location:
http://lists.openembedded.org/pipermail/openembedded-core/2016-February/117819.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67609</commentid>
    <comment_count>16</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-10-26 20:15:08 +0000</bug_when>
    <thetext>the version 2 of the patch is here 

http://lists.openembedded.org/pipermail/openembedded-core/2016-February/118260.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>67930</commentid>
    <comment_count>17</comment_count>
    <who name="Jose Perez C">jose.perez.carranza</who>
    <bug_when>2016-11-03 18:15:54 +0000</bug_when>
    <thetext>Already merged on master 

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=c3d2df883a9d6d5036277114339673656d89a728</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>