<?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>7805</bug_id>
          
          <creation_ts>2015-05-25 11:29:06 +0000</creation_ts>
          <short_desc>Parselogs: Bluez errors in Corei7_64 LSB</short_desc>
          <delta_ts>2015-10-16 12:04:40 +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>connectivity</component>
          <version>1.8</version>
          <rep_platform>NUC</rep_platform>
          <op_sys>x86_64</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.8.1</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Lucian Musat">georgex.l.musat</reporter>
          <assigned_to name="Saul Wold">sgw</assigned_to>
          <cc>alexandru.c.georgescu</cc>
    
    <cc>cristian.iorga</cc>
    
    <cc>dvhart</cc>
    
    <cc>meta.mr.watcher</cc>
    
    <cc>meta.watcher</cc>
    
    <cc>Qi.Chen</cc>
          
          <qa_contact name="Cristina Agurida">cristina-danielax.agurida</qa_contact>
          <cf_os>---</cf_os>
          <cf_regression_type>Regression (Found by QA test)</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>51239</commentid>
    <comment_count>0</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2015-05-25 11:29:06 +0000</bug_when>
    <thetext>meta-intel : f9738ec19d3b2864c0bd71b9bb3418d16e922a12
meta-qt3 : 3016129d90b7ac8517a5227d819f10ad417b5b45
poky : fido-13.0.0
Yocto 1.8.rc1

image type
    core-image-sato-sdk
target
    intel-corei7-64-lsb 
machine
    NUC

STATUS: FAILED
BUILD: Initial default
ENVIRONMENT: corei7 on NUC
STEPS TO REPRODUCE: 
  
 Parse dmesg log and all log files in /var/log for keywords like: &quot;error&quot; , &quot;failed&quot; , &quot;cannot&quot;, &quot;can&apos;t&quot; etc.
Filter out the known and invalid errors or errors that appear in certain situations and need to be ignored.



EXPECTED OUTCOME: 
  
 No errors or fails should be present in logs

ACTUAL OUTCOME:
 
 This error was found by the log parser:

May 14 22:58:23 intel-corei7-64 dbus[862]: [system] Activated service &apos;org.bluez&apos; failed: Launch helper exited with unknown return code 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51270</commentid>
    <comment_count>1</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-05-26 20:21:07 +0000</bug_when>
    <thetext>This looks to be a generic bluez / dbus issue, I could reproduce this with a 
genericx86-64 so I am reassigning this to Cristi.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51802</commentid>
    <comment_count>2</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-06-18 17:11:49 +0000</bug_when>
    <thetext>Investigation started.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51804</commentid>
    <comment_count>3</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-06-18 18:23:40 +0000</bug_when>
    <thetext>On the latest master, with a Baytrail based NUC (Bluetooth adapter is recognized and drivers/firmware are loaded for it), I am unable to reproduce the error.
Bluetooth is functional and the BT stack is also functional, hcitool scan found my phone (Meek). In dmesg there are no dbus errors (of any kind).
poky top commit: 8ef99a00dc75c6eed87aa1bc1528614a2a27eddf
meta-intel top commit: 2fafedaa4ae900f82eed572860114b8baa9b36e6

Can QA retest?
Also, I would like to see what is happening if this gets re-tested on a machine that does not have at all Bluetooth and on one where it is present, but not functional.

See logs and info below:

root@intel-corei7-64:/var/log# 
root@intel-corei7-64:/var/log# ls -lia
  14719 drwxr-xr-x    3 root     root           180 Jun 18 18:04 .
  12897 drwxrwxrwt    4 root     root            80 Jun 18 18:04 ..
  16442 drwxr-xr-x    2 root     root            60 Jun 18 18:04 ConsoleKit
  14985 -rw-r--r--    1 root     root         14659 Jun 18 18:04 Xorg.0.log
  14838 -rw-r-----    1 root     root          3418 Jun 18 18:04 boot
  16019 -rw-r--r--    1 root     root             0 Jun 18 18:04 boot~
  14837 -rw-r--r--    1 root     root         50850 Jun 18 18:04 dmesg
  15130 -rw-r--r--    1 root     root         81929 Jun 18 18:06 messages
  14761 -rw-rw-r--    1 root     root          3456 Jun 18 18:06 wtmp
root@intel-corei7-64:/var/log# grep -ris blue * 
dmesg:[    1.119959] Bluetooth: Core ver 2.20
dmesg:[    1.128938] Bluetooth: HCI device and connection manager initialized
dmesg:[    1.136037] Bluetooth: HCI socket layer initialized
dmesg:[    1.141492] Bluetooth: L2CAP socket layer initialized
dmesg:[    1.147155] Bluetooth: SCO socket layer initialized
dmesg:[    8.417291] Bluetooth: hci0: read Intel version: 370710018002030d00
dmesg:[    8.587168] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
dmesg:[    8.885265] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    1.119959] Bluetooth: Core ver 2.20
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    1.128938] Bluetooth: HCI device and connection manager initialized
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    1.136037] Bluetooth: HCI socket layer initialized
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    1.141492] Bluetooth: L2CAP socket layer initialized
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    1.147155] Bluetooth: SCO socket layer initialized
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    8.417291] Bluetooth: hci0: read Intel version: 370710018002030d00
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    8.587168] Bluetooth: hci0: Intel Bluetooth firmware file: intel/ibt-hw-37.7.10-fw-1.80.2.3.d.bseq
messages:Jun 18 18:04:53 intel-corei7-64 user.info kernel: [    8.885265] Bluetooth: hci0: Intel Bluetooth firmware patch completed and activated
root@intel-corei7-64:/var/log# rfkill unblock bluetooth
root@intel-corei7-64:/var/log# hciconfig hci0 up
root@intel-corei7-64:/var/log# hcitool scan
Scanning ...
	38:0A:94:B1:22:06	Meek
root@intel-corei7-64:/var/log#
root@intel-corei7-64:/var/log# uname -a
Linux intel-corei7-64 3.19.5-yocto-standard #1 SMP PREEMPT Thu Jun 18 20:52:39 EEST 2015 x86_64 GNU/Linux
root@intel-corei7-64:/var/log# dmesg | grep dbus
root@intel-corei7-64:/var/log# hcitool dev   
Devices:
	hci0	AC:7B:A1:93:C4:3D
root@intel-corei7-64:/var/log#
root@intel-corei7-64:/var/log# grep -ris dbus *
boot:Thu Jun 18 18:04:52 2015: dbus.
messages:Jun 18 18:04:54 intel-corei7-64 daemon.notice dbus[1087]: [system] Activating service name=&apos;org.freedesktop.ConsoleKit&apos; (using servicehelper)
messages:Jun 18 18:04:54 intel-corei7-64 daemon.notice dbus[1087]: [system] Successfully activated service &apos;org.freedesktop.ConsoleKit&apos;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>51860</commentid>
    <comment_count>4</comment_count>
    <who name="Stephen K Jolley">sjolley.yp.pm</who>
    <bug_when>2015-06-22 20:31:55 +0000</bug_when>
    <thetext>It appears the NEEDINFO is directed to QA.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52561</commentid>
    <comment_count>5</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2015-07-23 15:30:13 +0000</bug_when>
    <thetext>Re-tested this with the newer NUC we have in the lab and the error does not appear. Will retest with an older version of NUC.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52616</commentid>
    <comment_count>6</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-07-27 11:28:01 +0000</bug_when>
    <thetext>Retested with latest version of intel-corei7-64-lsb on NUC (DC3217IYE model) and the issue cannot be reproduced.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52617</commentid>
    <comment_count>7</comment_count>
    <who name="Lucian Musat">georgex.l.musat</who>
    <bug_when>2015-07-27 11:29:25 +0000</bug_when>
    <thetext>Setting this as WORKSFORME as per last two comments. If the error reappears we can re-open this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>53221</commentid>
    <comment_count>8</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-08-19 13:12:38 +0000</bug_when>
    <thetext>As per last comments set this issue as verified.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55120</commentid>
    <comment_count>9</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-10-09 13:52:21 +0000</bug_when>
    <thetext>This issue appears again on 1.8.1: b74ea963cefffad9fbd91d4eb9b240f6a8c86cd0 release, on MinnowMax and NUC. It was tested with genericx86 and genericx86-64 for LSB core-image-lsb-sdk images.

This error appears in /var/log//daemon.log:

genericx86 dbus[809]: [system] Activated service &apos;org.bluez&apos; failed: Launch helper exited with unknown return code 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55361</commentid>
    <comment_count>10</comment_count>
    <who name="Cristian Iorga">cristian.iorga</who>
    <bug_when>2015-10-15 15:17:02 +0000</bug_when>
    <thetext>This won&apos;t be fixed in 1.8.1. This issue is fixed in the upcoming 2.0 release.
Basically, what is happening, is that the BlueZ stack is active, but some basic support from Linux kernel is needed and missing in 1.8.1, and BlueZ won&apos;t start correctly.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55381</commentid>
    <comment_count>11</comment_count>
    <who name="Cristina Agurida">cristina-danielax.agurida</who>
    <bug_when>2015-10-16 09:34:32 +0000</bug_when>
    <thetext>As per last comment set this issue as &quot;VERIFIED WONTFIX&quot;</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>