<?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>7920</bug_id>
          
          <creation_ts>2015-06-24 17:58:03 +0000</creation_ts>
          <short_desc>test_recipetool_appendfile_binary fails in oe-selftest</short_desc>
          <delta_ts>2015-08-24 15:07:50 +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>OE-Core</product>
          <component>core</component>
          <version>unspecified</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>normal</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Flanagan">elizabeth.flanagan</reporter>
          <assigned_to name="Richard Purdie">richard.purdie</assigned_to>
          <cc>cristina-danielax.agurida</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>richard.purdie</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</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>51915</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Flanagan">elizabeth.flanagan</who>
    <bug_when>2015-06-24 17:58:03 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/32/steps/Running%20oe-selftest/logs/stdio

======================================================================
FAIL: test_recipetool_appendfile_binary (oeqa.selftest.recipetool.RecipetoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/recipetool.py&quot;, line 115, in test_recipetool_appendfile_binary
    self.assertIn(&apos;WARNING: &apos;, result.output)
AssertionError: &apos;WARNING: &apos; not found in &apos;Parsing recipes..done.\nNOTE: Writing append file /tmp/recipetoolqaFV2HtX/recipes-core/coreutils/coreutils_8.23.bbappend\nNOTE: Copying /bin/ls to /tmp/recipetoolqaFV2HtX/recipes-core/coreutils/coreutils/ls&apos;

----------------------------------------------------------------------
Ran 119 tests in 24647.770s</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51936</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-25 15:29:13 +0000</bug_when>
    <thetext>Appears to reproduce on the autobuilder:

pokybuild@opensuse131:~/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build&gt; source oe-init-build-env

### Shell environment set up for builds. ###

You can now run &apos;bitbake &lt;target&gt;&apos;

Common targets are:
    core-image-minimal
    core-image-sato
    meta-toolchain
    adt-installer
    meta-ide-support

You can also run generated qemu images with a command like &apos;runqemu qemux86&apos;
pokybuild@opensuse131:~/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build&gt; oe-selftest --run-tests recipetool.RecipetoolTests.test_recipetool_appendfile_binary
2015-06-25 15:26:01,789 - selftest - INFO - Checking that everything is in order before running the tests
2015-06-25 15:26:03,660 - selftest - INFO - Running bitbake -p
2015-06-25 15:26:08,098 - selftest - INFO - Loading tests from: oeqa.selftest.recipetool.RecipetoolTests.test_recipetool_appendfile_binary
2015-06-25 15:26:08,114 - selftest - INFO - Adding: &quot;include selftest.inc&quot; in local.conf
2015-06-25 15:26:08,570 - selftest - INFO - Running bitbake to generate pkgdata
test_recipetool_appendfile_binary (oeqa.selftest.recipetool.RecipetoolTests) ... FAIL

======================================================================
FAIL: test_recipetool_appendfile_binary (oeqa.selftest.recipetool.RecipetoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/recipetool.py&quot;, line 115, in test_recipetool_appendfile_binary
    self.assertIn(&apos;WARNING: &apos;, result.output)
AssertionError: &apos;WARNING: &apos; not found in &apos;Parsing recipes..done.\nNOTE: Writing append file /tmp/recipetoolqai0NY8l/recipes-core/coreutils/coreutils_8.23.bbappend\nNOTE: Copying /bin/ls to /tmp/recipetoolqai0NY8l/recipes-core/coreutils/coreutils/ls&apos;

----------------------------------------------------------------------
Ran 1 test in 36.297s

FAILED (failures=1)
2015-06-25 15:26:44,411 - selftest - INFO - Finished
2015-06-25 15:26:44,412 - selftest - INFO - Removing the include from local.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51938</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-25 15:32:14 +0000</bug_when>
    <thetext>The reason appears to be that /bin/ls is not a binary file on opensuse131:

pokybuild@opensuse131:~/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build&gt; file /bin/ls
/bin/ls: symbolic link to `/usr/bin/ls&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51951</commentid>
    <comment_count>3</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-06-26 08:30:09 +0000</bug_when>
    <thetext>http://git.yoctoproject.org/cgit.cgi/poky/commit/?id=ffd7cac8f6a82ddf9c29795f90b8a0bc2096fd1a</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53361</commentid>
    <comment_count>4</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2015-08-24 15:07:50 +0000</bug_when>
    <thetext>Verified while testing 1.9 M2 RC2: c75cefe8a382a63f625123c156137782db118f64</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>