<?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>14831</bug_id>
          
          <creation_ts>2022-06-09 14:31:14 +0000</creation_ts>
          <short_desc>recipetool.RecipetoolAppendTests.test_recipetool_appendfile_subdir failure</short_desc>
          <delta_ts>2022-06-09 14:48:24 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Functional (self) Testing</product>
          <component>oe-selftest</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>OBSOLETE</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard>AB-INT</status_whiteboard>
          <keywords></keywords>
          <priority>Undecided</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Alexandre Belloni">alexandre.belloni</reporter>
          <assigned_to name="Unassigned">unassigned</assigned_to>
          <cc>alexandre.belloni</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>93438</commentid>
    <comment_count>0</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-06-09 14:31:14 +0000</bug_when>
    <thetext>2022-06-09 01:29:34,907 - oe-selftest - INFO - recipetool.RecipetoolAppendTests.test_recipetool_appendfile_subdir (subunit.RemotedTestCase)
2022-06-09 01:29:34,908 - oe-selftest - INFO -  ... FAIL
Stderr:
2022-06-09 01:11:23,844 - oe-selftest - INFO - Adding: &quot;include selftest.inc&quot; in /home/pokybuild/yocto-worker/oe-selftest/build/build-st-399337/conf/local.conf
2022-06-09 01:11:23,845 - oe-selftest - INFO - Adding: &quot;include bblayers.inc&quot; in bblayers.conf
2022-06-09 01:25:29,789 - oe-selftest - INFO - Running bitbake to generate pkgdata
2022-06-09 01:29:34,908 - oe-selftest - INFO - 6: 24/27 279/485 (5.18s) (recipetool.RecipetoolAppendTests.test_recipetool_appendfile_subdir)
2022-06-09 01:29:34,908 - oe-selftest - INFO - testtools.testresult.real._StringException: Traceback (most recent call last):
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/recipetool.py&quot;, line 225, in test_recipetool_appendfile_subdir
    _, output = self._try_recipetool_appendfile(&apos;selftest-recipetool-appendfile&apos;, &apos;/usr/share/selftest-replaceme-subdir&apos;, self.testfile, &apos;&apos;, expectedlines, [&apos;testfile&apos;])
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/recipetool.py&quot;, line 84, in _try_recipetool_appendfile
    return self._try_recipetool_appendcmd(cmd, testrecipe, expectedfiles, expectedlines)
  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/meta/lib/oeqa/selftest/cases/recipetool.py&quot;, line 45, in _try_recipetool_appendcmd
    self.assertNotIn(&apos;Traceback&apos;, result.output)
  File &quot;/usr/lib64/python3.10/unittest/case.py&quot;, line 1119, in assertNotIn
    self.fail(self._formatMessage(msg, standardMsg))
  File &quot;/usr/lib64/python3.10/unittest/case.py&quot;, line 675, in fail
    raise self.failureException(msg)
AssertionError: &apos;Traceback&apos; unexpectedly found in &apos;NOTE: Starting bitbake server...\nLoading cache...done.\nLoaded 1695 entries from dependency cache.\nParsing recipes...done.\nParsing of 928 .bb files complete (927 cached, 1 parsed). 1695 targets, 50 skipped, 0 masked, 0 errors.\nNOTE: Writing append file /tmp/recipetoolqawia5yiv2/recipes-test/recipetool/selftest-recipetool-appendfile.bbappend\nNOTE: Copying testfile to /tmp/recipetoolqawia5yiv2/recipes-test/recipetool/selftest-recipetool-appendfile/testfile\nException in thread Thread-1:\nTraceback (most recent call last):\n  File &quot;/usr/lib64/python3.10/threading.py&quot;, line 1009, in _bootstrap_inner\n    self.run()\n  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/server/process.py&quot;, line 698, in startCallbackHandler\n    event = self.reader.get()\n  File &quot;/home/pokybuild/yocto-worker/oe-selftest/build/bitbake/lib/bb/server/process.py&quot;, line 722, in get\n    res = self.reader.recv_bytes()\n  File &quot;/usr/lib64/python3.10/multiprocessing/connection.py&quot;, line 221, in recv_bytes\n    buf = self._recv_bytes(maxlength)\n  File &quot;/usr/lib64/python3.10/multiprocessing/connection.py&quot;, line 426, in _recv_bytes\n    return self._recv(size)\n  File &quot;/usr/lib64/python3.10/multiprocessing/connection.py&quot;, line 384, in _recv\n    chunk = read(handle, remaining)\nTypeError: \&apos;NoneType\&apos; object cannot be interpreted as an integer&apos;

This seems to be a bitbake connection issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93439</commentid>
    <comment_count>1</comment_count>
    <who name="Alexandre Belloni">alexandre.belloni</who>
    <bug_when>2022-06-09 14:33:54 +0000</bug_when>
    <thetext>This was on fedora35-ty-2 which has an SSD</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>93446</commentid>
    <comment_count>2</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2022-06-09 14:48:24 +0000</bug_when>
    <thetext>A revised bitbake change fixed this, this was an issue in a server/process.py change that was being tested.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>