<?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>10379</bug_id>
          
          <creation_ts>2016-10-05 08:41:46 +0000</creation_ts>
          <short_desc>FAIL: test_devtool_update_recipe_local_files</short_desc>
          <delta_ts>2016-10-06 21:45:38 +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>2.2</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>YP 2.2 M4 RC1 BUILD BLOCKING BUG</status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.2 M4</target_milestone>
          
          <blocked>10326</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Joshua Lock">joshuagloe</reporter>
          <assigned_to name="Stephano Cetola">stephano</assigned_to>
          <cc>bluelightning</cc>
    
    <cc>richard.purdie</cc>
          
          
          <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>66923</commentid>
    <comment_count>0</comment_count>
    <who name="Joshua Lock">joshuagloe</who>
    <bug_when>2016-10-05 08:41:46 +0000</bug_when>
    <thetext>nightly-oe-selftest builder failed in &quot;Running oe-selftest&quot; with current master-next:

https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/698/steps/Running%20oe-selftest/logs/stdio

======================================================================
FAIL: test_devtool_update_recipe_local_files (oeqa.selftest.devtool.DevtoolTests)
Check that local source files are copied over instead of patched
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/decorators.py&quot;, line 109, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py&quot;, line 875, in test_devtool_update_recipe_local_files
    runCmd(&apos;echo &quot;/* Foobar */&quot; &gt;&gt; oe-local-files/makedevs.c&apos;, cwd=tempdir)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 114, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))
AssertionError: Command &apos;echo &quot;/* Foobar */&quot; &gt;&gt; oe-local-files/makedevs.c&apos; returned non-zero exit status 2:
/bin/sh: 1: cannot create oe-local-files/makedevs.c: Directory nonexistent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66924</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2016-10-05 09:04:51 +0000</bug_when>
    <thetext>This is from Stephano&apos;s patch &quot;devtool: modify command fails to ignore source files&quot; and can be reproduced with &quot;oe-selftest -r devtool.DevtoolTests.test_devtool_update_recipe_local_files&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66936</commentid>
    <comment_count>2</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-10-05 14:08:12 +0000</bug_when>
    <thetext>In the test, the source path ($S) is the same as the working directory ($WORKDIR), so the check that I added always prevents files from being added to oe-local-files.

I&apos;m looking into the best way to fix this now.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>66974</commentid>
    <comment_count>3</comment_count>
    <who name="Stephano Cetola">stephano</who>
    <bug_when>2016-10-06 03:59:55 +0000</bug_when>
    <thetext>I submitted a patch which fixed the error and I believe solves the problem. I double checked with Paul and he agrees that this should work fine.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>