<?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>7976</bug_id>
          
          <creation_ts>2015-07-09 09:32:41 +0000</creation_ts>
          <short_desc>Image feature tests should not be touching user&apos;s ~/.ssh/known_hosts file</short_desc>
          <delta_ts>2016-01-19 10:07:36 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>10</classification_id>
          <classification>QA/Testing</classification>
          <product>Runtime Testing</product>
          <component>general</component>
          <version>1.7</version>
          <rep_platform>All</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>VERIFIED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>1.9 M2</target_milestone>
          
          <blocked>8176</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Paul Eggleton">bluelightning</reporter>
          <assigned_to name="Daniel Istrate">daniel.alexandrux.istrate</assigned_to>
          <cc>ross.burton</cc>
          
          <qa_contact name="Costin">costin.c.constantin</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>52229</commentid>
    <comment_count>0</comment_count>
    <who name="Paul Eggleton">bluelightning</who>
    <bug_when>2015-07-09 09:32:41 +0000</bug_when>
    <thetext>A failure on the autobuilder made me notice that the tests for SSH logins are touching the user&apos;s ~/.ssh/known_hosts file:

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

We should *never* be writing to user configuration files like this. Probably the easiest alternative is to pass &quot;-o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no&quot; as we do in the oe-selftest tests for devtool.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52330</commentid>
    <comment_count>1</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-07-14 08:58:55 +0000</bug_when>
    <thetext>Hi Paul,

I updated the testcases as you suggested.
Also the testcases now determine the qemu ip address dynamically in order to be able to ssh into it, so they don&apos;t assume 192.168.7.2 any more.

--Daniel</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52331</commentid>
    <comment_count>2</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-07-14 09:09:40 +0000</bug_when>
    <thetext>Code review is needed.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52332</commentid>
    <comment_count>3</comment_count>
    <who name="Daniel Istrate">daniel.alexandrux.istrate</who>
    <bug_when>2015-07-14 09:10:16 +0000</bug_when>
    <thetext>Waiting for code review.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>52545</commentid>
    <comment_count>4</comment_count>
    <who name="Ross Burton">ross.burton</who>
    <bug_when>2015-07-23 10:44:22 +0000</bug_when>
    <thetext>Fixed in oe-core f58df3a630b774083934171463b2b07add29dc0e.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>57943</commentid>
    <comment_count>5</comment_count>
    <who name="Costin">costin.c.constantin</who>
    <bug_when>2016-01-19 10:07:36 +0000</bug_when>
    <thetext>Hello,

Checked for last version of test cases in master (839fb1893546ad58a1f5475a9e852b81afb056d6) under poky/meta/lib/oeqa/selftest/imagefeatures.py and no ssh command touches any file from ~/.ssh

Marking as verified.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>