<?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>4603</bug_id>
          
          <creation_ts>2013-06-04 07:11:47 +0000</creation_ts>
          <short_desc>[Autobuilder] ssh can&apos;t connect to QEMU</short_desc>
          <delta_ts>2013-09-30 12:19:53 +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>unspecified</version>
          <rep_platform>x86</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.5</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bogdan Marinescu">bogdan.a.marinescu</reporter>
          <assigned_to name="Alexandru Georgescu">alexandru.c.georgescu</assigned_to>
          <cc>sgw</cc>
    
    <cc>sstncr</cc>
          
          
          <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>33533</commentid>
    <comment_count>0</comment_count>
    <who name="Bogdan Marinescu">bogdan.a.marinescu</who>
    <bug_when>2013-06-04 07:11:47 +0000</bug_when>
    <thetext>http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-extras/builds/37/steps/Running%20Sanity%20Tests_1/logs/stdio

 Target IP is 192.168.7.2
| 	Test_Info: IP 192.168.7.2 is up
| 	Test_Info: Qemu Network is up, ping with 192.168.7.2 is OK within 0 seconds
| 	Test_Info: Begin to Test SSH Service in Qemu
| spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.7.2 hostname
| ssh: connect to host 192.168.7.2 port 22: Connection refused
| spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.7.2 hostname
| ssh: connect to host 192.168.7.2 port 22: Connection refused
| spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.7.2 hostname
| ssh: connect to host 192.168.7.2 port 22: Connection refused
| spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.7.2 hostname
| ssh: connect to host 192.168.7.2 port 22: Connection refused
| spawn ssh -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no root@192.168.7.2 hostname
| ssh: connect to host 192.168.7.2 port 22: Connection refused
| 	Test_Info: We can not ssh on 192.168.7.2 in 50 seconds
| 	Test_Info: SSH Test FAIL</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33537</commentid>
    <comment_count>1</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-06-04 09:04:49 +0000</bug_when>
    <thetext>This might be relevant http://autobuilder.yoctoproject.org:8011/builders/nightly-qa-extras/builds/37/steps/CreateAutoConf_1/logs/stdio
in particular: 
IMAGE_FEATURES_append = &quot; read-only-rootfs&quot;

That&apos;s a read only /, but that shouldn&apos;t stop ssh work, imho.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>33549</commentid>
    <comment_count>2</comment_count>
    <who name="Stefan Stanacar">sstncr</who>
    <bug_when>2013-06-04 15:40:21 +0000</bug_when>
    <thetext>And indeed ssh does work. I can&apos;t reproduce on my local AB instance or when building and starting tests manually:

IMAGE_FEATURES_append = &quot; read-only-rootfs&quot;
IMAGETEST = &quot;qemu&quot;
TEST_SCENE = &quot;sanity:boot sanity:ssh&quot;

bitbake core-image-sato

It does seem to boot a little slower than a non read only image.
So most likely this is a timeout - if the test can&apos;t connect in 50 seconds it gives up - and if the AB is somewhat loaded, the image might boot a bit slower. 
The thing is the ssh test has a 400 seconds timeout but that gets overwriteen when TEST_SERIALIZE is set :( (which is by default) and becomes 50, so this is an unfortunately situation on the AB: a slower to boot image, an overloaded AB, a small timeout. 

Again I wasn&apos;t able to reproduce manually or on a AB instance (which has the same config as the public AB).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>35843</commentid>
    <comment_count>3</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-08-22 07:13:25 +0000</bug_when>
    <thetext>Closing this since it&apos;s an old one and Stefan couldn&apos;t reproduce.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>37336</commentid>
    <comment_count>4</comment_count>
    <who name="Alexandru Georgescu">alexandru.c.georgescu</who>
    <bug_when>2013-09-30 12:19:53 +0000</bug_when>
    <thetext>.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>