<?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>11114</bug_id>
          
          <creation_ts>2017-02-28 23:40:15 +0000</creation_ts>
          <short_desc>MraaGpio test is failing on Common profile for Refkit</short_desc>
          <delta_ts>2017-03-06 13:29:48 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>6</classification_id>
          <classification>Yocto Project Subprojects</classification>
          <product>IoT Reference OS Kit</product>
          <component>intel-iot-refkit-default</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Low</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.3 M3</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Monserrat">monserratx.sedeno.bustos</reporter>
          <assigned_to name="Mikko Ylinen">mikko.ylinen</assigned_to>
          <cc>matti-pekka.sivosuo</cc>
    
    <cc>simo.kuusela</cc>
          
          <qa_contact name="Sonia Delgado">sonia.delgado</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>71002</commentid>
    <comment_count>0</comment_count>
    <who name="Monserrat">monserratx.sedeno.bustos</who>
    <bug_when>2017-02-28 23:40:15 +0000</bug_when>
    <thetext>MraaGpio test is failing on Common profile for Refkit.

Failed
570x.refkit-image-common.oeqa.runtime.sanity.mraa_gpio.MraaGpioTest.test_gpio (from 570x.refkit-image-common.oeqa.runtime.sanity.mraa_gpio.MraaGpioTest-20000105032653)


Error Message
0 != 1 : GPIO pin output is not 1
Stacktrace
Traceback (most recent call last):
  File &quot;/root/workspace/iotos-tester/workspace/intel-iot-refkit_master/iottest/oeqa/runtime/sanity/mraa_gpio.py&quot;, line 39, in test_gpio
    self.assertEqual(output, 1, msg=&quot;GPIO pin output is not 1&quot;)
AssertionError: 0 != 1 : GPIO pin output is not 1</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71014</commentid>
    <comment_count>1</comment_count>
    <who name="Matti-Pekka Sivosuo">matti-pekka.sivosuo</who>
    <bug_when>2017-03-01 10:16:51 +0000</bug_when>
    <thetext>Probably just a glitch in running the tests. Let&apos;s wait for another master build and see if this reproduces or not.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71017</commentid>
    <comment_count>2</comment_count>
    <who name="Simo Kuusela">simo.kuusela</who>
    <bug_when>2017-03-01 11:53:46 +0000</bug_when>
    <thetext>I ran this test manually 100 times with Joule 570x and it seemed to fail 2 times. I also ran the GPIO test with Minnowboard Turbot 200 times but the test didn&apos;t fail even once. When the test fails there is this kind of error message with mraa-gpio command: 
*** Error in `mraa-gpio&apos;: free(): invalid pointer: 0x00000000006193f5 ***
So the problem seems to be with mraa and specifically with Joule and seems to happen quite rarely. No idea if there is some fix to this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>71086</commentid>
    <comment_count>3</comment_count>
    <who name="Mikko Ylinen">mikko.ylinen</who>
    <bug_when>2017-03-06 13:29:48 +0000</bug_when>
    <thetext>Same resolution as bug #11113</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>