<?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>8013</bug_id>
          
          <creation_ts>2015-07-15 12:56:17 +0000</creation_ts>
          <short_desc>Compile and load a kernel module under BSP&apos;s fails on LSB image</short_desc>
          <delta_ts>2015-08-12 12:04:04 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>7</classification_id>
          <classification>Build System, Metadata &amp; Runtime</classification>
          <product>BSPs</product>
          <component>bsps-runtime</component>
          <version>1.9</version>
          <rep_platform>NUC</rep_platform>
          <op_sys>x86_64</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>normal</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cristina Agurida">cristina-danielax.agurida</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>ross.burton</cc>
    
    <cc>yp.kernel.watcher</cc>
    
    <cc>yp.watcher</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>New (Never tested)</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>52400</commentid>
    <comment_count>0</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-07-15 12:56:17 +0000</bug_when>
    <thetext>STATUS: FAILED
BUILD: 1.9_M1.rc2: f9ea480e6c26fea46c3011c4e9d0e2de3d5c81b4
ENVIRONMENT: NUC(Next Unit of Computing)
BSP: genericx86-64
IMAGE TYPE: core-image-lsb-sdk
STEPS TO REPRODUCE: 
  
 This test follow the steps of the test case 316 from meta-yocto runtime test plan:

	- https://bugzilla.yoctoproject.org/tr_show_case.cgi?case_id=316 


EXPECTED OUTCOME: 
  
 The module could be properly loaded.

ACTUAL OUTCOME:
 This error appears on log:

15:18:43 - bitbake-worker - RESULTS - Testcase 316:
Traceback (most recent call last):
  File /work/weekly/runtime/genericx86-64-lsb_nuc/poky/meta/lib/oeqa/utils/decorators.py, line 102, in wrapped_f
    return func(*args)
  File /work/weekly/runtime/genericx86-64-lsb_nuc/poky/meta/lib/oeqa/utils/decorators.py, line 90, in wrapped_f
    return f(*args)
  File /work/weekly/runtime/genericx86-64-lsb_nuc/poky/meta/lib/oeqa/utils/decorators.py, line 90, in wrapped_f
    return f(*args)
  File /work/weekly/runtime/genericx86-64-lsb_nuc/poky/meta/lib/oeqa/runtime/kernelmodule.py, line 31, in test_kernel_module
    self.assertEqual(status, 0, msg=n.join([cmd, output]))
AssertionError: 1 != 0 : cd /usr/src/kernel &amp;&amp; make scripts
sh: line 0: cd: /usr/src/kernel: No such file or directory

===========================

Is this normal behavior on LSB images?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52401</commentid>
    <comment_count>1</comment_count>
    <who name="Bruce Ashfield">bruce.ashfield</who>
    <bug_when>2015-07-15 13:22:48 +0000</bug_when>
    <thetext>It would be normal, since lsb doesn&apos;t include kernel-devsrc. You need
that to get /usr/src/kernel.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52579</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-07-24 11:45:51 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=0f8d89ce66cfffccc9911d6c61470a585173b79d</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53012</commentid>
    <comment_count>3</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-08-12 12:04:04 +0000</bug_when>
    <thetext>Verified</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>