<?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>8575</bug_id>
          
          <creation_ts>2015-10-26 14:06:12 +0000</creation_ts>
          <short_desc>qemu fails to start on centos6</short_desc>
          <delta_ts>2016-02-12 08:35:02 +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>2.0</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium+</priority>
          <bug_severity>major</bug_severity>
          <target_milestone>2.0.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Ross Burton">ross.burton</assigned_to>
          <cc>bogdanx.a.voiculescu</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
          
          <qa_contact name="Mihail Stanciu">stanciux.mihail</qa_contact>
          <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>55740</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-26 14:06:12 +0000</bug_when>
    <thetext>All of the oe-selftest tests that use qemurunner failed in the last master-next build. From https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/234/steps/Running%20oe-selftest/logs/stdio :


======================================================================
ERROR: test_devtool_deploy_target (oeqa.selftest.devtool.DevtoolTests)
----------------------------------------------------------------------
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 106, in wrapped_f
    return func(*args)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/selftest/devtool.py&quot;, line 923, in test_devtool_deploy_target
    with runqemu(testimage, self) as qemu:
  File &quot;/opt/poky/1.8+snapshot/sysroots/x86_64-pokysdk-linux/usr/lib/python2.7/contextlib.py&quot;, line 17, in __enter__
    return self.gen.next()
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 214, in runqemu
    qemu.start()
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/targetcontrol.py&quot;, line 180, in start
    if self.runner.start(params):
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/qemurunner.py&quot;, line 177, in start
    time.sleep(1)
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/qemurunner.py&quot;, line 92, in handleSIGCHLD
    raise SystemExit
SystemExit
------------------------------------------


If you look into the qemurunner log you find the following root cause:

/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/build/tmp/sysroots/x86_64-linux/usr/bin/qemu-system-x86_64: symbol lookup error: /usr/lib64/libX11.so: undefined symbol: xcb_wait_for_reply64

Sounds like the libX11 (or libxcb?) that qemu-native was built against is different from the one it&apos;s running against...</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55742</commentid>
    <comment_count>1</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-26 14:11:53 +0000</bug_when>
    <thetext>I&apos;ve also filed bug 8576 to cover us not being able to see the proper error here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>56517</commentid>
    <comment_count>2</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-11-17 11:34:03 +0000</bug_when>
    <thetext>My guess is that it built against the new x11/xcb in the sysroot which was later cleaned.  Great.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58512</commentid>
    <comment_count>3</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2016-02-03 17:16:35 +0000</bug_when>
    <thetext>So I&apos;ve spend an hour poking at jethro and master in an attempt to replicate this and I can&apos;t seem to do it by hand, even less so inside a selftest.

My best guess was a devtool reset wiping bits of the sysroot away, but that&apos;s never done against the native sysroot.  The dependencies in qemu are fine so something must be going into the sysroot and breaking things.

From what I can tell this hasn&apos;t happened again so maybe it was a transient failure with some broken tests?

Reluctantly closing, we can re-open if it happens again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>58940</commentid>
    <comment_count>4</comment_count>
    <who name="Mihail Stanciu">stanciux.mihail</who>
    <bug_when>2016-02-12 08:35:02 +0000</bug_when>
    <thetext>Hasn&apos;t happened again for 2.0.1_rc6.
Marking verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>