<?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>9273</bug_id>
          
          <creation_ts>2016-03-16 09:32:13 +0000</creation_ts>
          <short_desc>test_recipetool_create_simple fails on Ubuntu 15.04, 15.10 and CentOS 7.2</short_desc>
          <delta_ts>2016-03-22 20:01:59 +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.1</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></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1 M4</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Daniel Istrate">daniel.alexandrux.istrate</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>bluelightning</cc>
          
          <qa_contact name="Alexandru Georgescu">alexandru.c.georgescu</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Used to work)</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>60001</commentid>
    <comment_count>0</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2016-03-16 09:32:13 +0000</bug_when>
    <thetext>On poky commit: 8debfea81e69d038bd2d56314b272cb74f5582ed

test_recipetool_create_simple is failing.

Tested on Ubuntu 15.04, 15.10, CentOS 7.2.1511 and it is failing.
On Fedora 21, Fedora 23 and OpenSuse 13.2 it is passing.


daniel@ubuntu-ws:~/poky/build$ oe-selftest --run-tests-by id 1392
2016-03-15 16:44:05,098 - selftest - INFO - Running bitbake -e to get BBPATH
2016-03-15 16:44:08,034 - selftest - INFO - Checking that everything is in order before running the tests
2016-03-15 16:44:08,947 - selftest - INFO - Running bitbake -p
2016-03-15 16:44:14,700 - selftest - INFO - Loading tests from: oeqa.selftest.recipetool.RecipetoolTests.test_recipetool_create_simple
2016-03-15 16:44:14,700 - selftest - INFO - Adding: &quot;include selftest.inc&quot; in local.conf
2016-03-15 16:44:14,700 - selftest - INFO - Adding: &quot;include bblayers.inc&quot; in bblayers.conf
2016-03-15 16:44:15,028 - selftest - INFO - Running bitbake to generate pkgdata
2016-03-15 16:44:37 - test_recipetool_create_simple (oeqa.selftest.recipetool.RecipetoolTests) ... ERROR

======================================================================
ERROR: test_recipetool_create_simple (oeqa.selftest.recipetool.RecipetoolTests)
----------------------------------------------------------------------
Traceback (most recent call last):
  File &quot;/home/daniel/poky/meta/lib/oeqa/utils/decorators.py&quot;, line 106, in wrapped_f
    return func(*args, **kwargs)
  File &quot;/home/daniel/poky/meta/lib/oeqa/selftest/recipetool.py&quot;, line 423, in test_recipetool_create_simple
    self._test_recipe_contents(os.path.join(temprecipe, dirlist[0]), checkvars, inherits)
  File &quot;/home/daniel/poky/meta/lib/oeqa/selftest/devtool.py&quot;, line 17, in _test_recipe_contents
    with open(recipefile, &apos;r&apos;) as f:
IOError: [Errno 21] Is a directory: &apos;/tmp/recipetoolqambezil/recipe/socat&apos;

----------------------------------------------------------------------
Ran 1 test in 37.352s

FAILED (errors=1)
2016-03-15 16:44:52,053 - selftest - INFO - Finished
2016-03-15 16:44:52,053 - selftest - INFO - Removing the include from local.conf
2016-03-15 16:44:52,053 - selftest - INFO - Removing the include from bblayers.conf
daniel@ubuntu-ws:~/poky/build$</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60002</commentid>
    <comment_count>1</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-03-16 09:43:40 +0000</bug_when>
    <thetext>This looks like &quot;recipetool: create: don&apos;t create extra files directory unconditionally&quot;.  Paul?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60034</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-03-16 18:51:06 +0000</bug_when>
    <thetext>If you mean it looks like that patch should fix the issue, I would say yes. It isn&apos;t in master yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>60310</commentid>
    <comment_count>3</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2016-03-22 20:01:59 +0000</bug_when>
    <thetext>Fix merged to master:

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

    </bug>

</bugzilla>