<?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>7957</bug_id>
          
          <creation_ts>2015-07-06 05:13:18 +0000</creation_ts>
          <short_desc>oe-selftest fails on the autobuilder when testing devtool</short_desc>
          <delta_ts>2015-10-23 06:56:38 +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>Scripts and Tools</component>
          <version>unspecified</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</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Saul Wold">sgw</reporter>
          <assigned_to name="Paul Eggleton">bluelightning</assigned_to>
          <cc>elizabeth.flanagan</cc>
    
    <cc>markus.lehtonen</cc>
    
    <cc>richard.purdie</cc>
    
    <cc>ross.burton</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>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>52137</commentid>
    <comment_count>0</comment_count>
    <who name="Saul Wold">sgw</who>
    <bug_when>2015-07-06 05:13:18 +0000</bug_when>
    <thetext>======================================================================
FAIL: 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/selftest/devtool.py&quot;, line 822, in test_devtool_deploy_target
    result = runCmd(&apos;ssh %s root@%s %s&apos; % (sshargs, testhost, testcommand))
  File &quot;/home/pokybuild/yocto-autobuilder/yocto-worker/nightly-oe-selftest/build/meta/lib/oeqa/utils/commands.py&quot;, line 104, in runCmd
    raise AssertionError(&quot;Command &apos;%s&apos; returned non-zero exit status %d:\n%s&quot; % (command, result.status, result.output))
AssertionError: Command &apos;ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.7.2 /sbin/mdadm --help&apos; returned non-zero exit status 2:
Warning: Permanently added &apos;192.168.7.2&apos; (RSA) to the list of known hosts.
/sbin/mdadm: line 1: syntax error: unexpected &quot;(&quot;

----------------------------------------------------------------------
Ran 125 tests in 10250.674s

FAILED (failures=1)
2015-07-03 19:43:56,928 - selftest - INFO - Finished
2015-07-03 19:43:56,929 - selftest - INFO - Removing the include from local.conf</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52140</commentid>
    <comment_count>1</comment_count>
    <who name="Richard Purdie">richard.purdie</who>
    <bug_when>2015-07-06 09:06:57 +0000</bug_when>
    <thetext>https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/57/steps/Running%20oe-selftest/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52242</commentid>
    <comment_count>2</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-09 14:54:53 +0000</bug_when>
    <thetext>I can&apos;t reproduce this and am not quite sure how it would come up. This test has succeeded on this same autobuilder before and succeeds on my machines (on the same distro as the autobuilder where it failed). 

After discussion with Richard I&apos;m marking this as WORKSFORME; if it happens again we can reopen.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52244</commentid>
    <comment_count>3</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2015-07-09 15:18:08 +0000</bug_when>
    <thetext>Yeah, the error is strange. Looks like the /sbin/mdadm file on the target had got overwritten by something else at some point.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52247</commentid>
    <comment_count>4</comment_count>
    <who name="Markus Lehtonen">markus.lehtonen</who>
    <bug_when>2015-07-09 15:48:34 +0000</bug_when>
    <thetext>Set back to worksforme</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52542</commentid>
    <comment_count>5</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-23 10:33:40 +0000</bug_when>
    <thetext>Sadly there is still some kind of underlying issue here:

https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/86/steps/Running%20oe-selftest/logs/stdio

Fedora 21 again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52644</commentid>
    <comment_count>6</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-28 08:38:33 +0000</bug_when>
    <thetext>The following fix that has been merged to master doesn&apos;t resolve this bug, but it should give us a way to look at the image after the fact the next time it comes up:

http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=edc7780ab749534176780a247ab36d4a1575bc30</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55616</commentid>
    <comment_count>7</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-10-22 15:07:52 +0000</bug_when>
    <thetext>So we&apos;ve done some pretty heavy fixing in the way these tests are run, and we&apos;ve been running oe-selftest fairly intensively and we haven&apos;t seen the failure again since the time that prompted reopening this bug. After briefly discussing this at triage the conclusion was to mark it as resolved again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>55639</commentid>
    <comment_count>8</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2015-10-23 06:56:38 +0000</bug_when>
    <thetext>Verified with https://autobuilder.yoctoproject.org/main/builders/nightly-oe-selftest/builds/231 build.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>