<?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>12460</bug_id>
          
          <creation_ts>2018-01-02 02:03:23 +0000</creation_ts>
          <short_desc>Change in push.yoctoproject.org fingerprint causing connection timeout and autobuilder hang</short_desc>
          <delta_ts>2018-01-31 22:07:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>5</classification_id>
          <classification>Infrastructure</classification>
          <product>AutoBuilder</product>
          <component>autobuilder</component>
          <version>unspecified</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</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>2.5 M2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Rebecca Chang">rebecca.swee.fun.chang</reporter>
          <assigned_to name="Michael Halstead">mhalstead</assigned_to>
          <cc>infras.ab.watcher</cc>
    
    <cc>Infras.watcher</cc>
    
    <cc>joshuagloe</cc>
    
    <cc>pidge</cc>
    
    <cc>richard.purdie</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>78859</commentid>
    <comment_count>0</comment_count>
    <who name="Rebecca Chang">rebecca.swee.fun.chang</who>
    <bug_when>2018-01-02 02:03:23 +0000</bug_when>
    <thetext>We need to investigate and root cause the issue in push.yoctoproject.org that causes autobuilder hang with command timed out: 1200 seconds without output.

RP has done a diagnostic on the failure manually:
----- snip -----
[rpurdie@fedora26 ~]$ sudo -iu pokybuild
[pokybuild@fedora26 ~]$ cd /home/pokybuild/yocto-autobuilder/yocto-worker/nightly-x86-lsb/build
[pokybuild@fedora26 build]$ pwd=`pwd`;if [ ! -d /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb ];then mkdir -p /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb;git init /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb; fi;rm -rf /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb;mkdir -p /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb;git init /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb;if git ls-remote --exit-code ssh://git@push.yoctoproject.org/poky-buildhistory refs/heads/poky/master-next/nightly-x86-lsb&gt; /dev/null;then git push -q ssh://git@push.yoctoproject.org/poky-buildhistory :poky/master-next/nightly-x86-lsb;fi;if ! git ls-remote --exit-code ssh://git@push.yoctoproject.org/poky-buildhistory refs/heads/poky/master-next/nightly-x86-lsb &gt; /dev/null;then cd /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb; echo &apos;Initializing Repo&apos; &gt;&gt; README;git checkout -b poky/master-next/nightly-x86-lsb;git add README; git commit -s -m &apos;Initializing Repo&apos;;git push -q ssh://git@push.yoctoproject.org/poky-buildhistory poky/master-next/nightly-x86-lsb:poky/master-next/nightly-x86-lsb;fi
Initialized empty Git repository in /srv/autobuilder/buildhistory/poky/master-next/nightly-x86-lsb/.git/
The authenticity of host &apos;push.yoctoproject.org (140.211.169.56)&apos; can&apos;t be established.
RSA key fingerprint is SHA256:UG8/tDXRT6y2kewUBO0lSQG6raErMJsqOU+p1wzol/I.
RSA key fingerprint is MD5:66:93:3e:a3:f6:60:a6:9e:07:c6:1b:b5:7d:e6:b1:d6.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added &apos;push.yoctoproject.org&apos; (RSA) to the list of known hosts.
Switched to a new branch &apos;poky/master-next/nightly-x86-lsb&apos;
----- snip -----

It appears that it is waiting for user&apos;s input to confirm about the change in fingerprint.

However, we are seeing two more failures on MIPS and PPC.
https://autobuilder.yocto.io/builders/nightly-mips-lsb/builds/656/steps/CreateAutoConf/logs/stdio

https://autobuilder.yocto.io/builders/nightly-ppc-lsb/builds/669/steps/CreateAutoConf/logs/stdio</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>79283</commentid>
    <comment_count>1</comment_count>
    <who name="Michael Halstead">mhalstead</who>
    <bug_when>2018-01-31 22:07:05 +0000</bug_when>
    <thetext>The fingerprint did not change but the hostname changed from git.yoctoproject.org (RO) to push.yoctoproject.org (RW) and needed to be accepted again.

This is resolved on all the public workers. Some internal workers may still hit this issue.

Add the following to ~/.ssh/known_hosts or run a git push command and accept the new hostname at the prompt.

push.yoctoproject.org ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAux9kpB6l6UVdVBDhAWSkoH1VDuf/m9gxRU3g/h0a0BINoeIigev9pI8DRzwIm/dI5+2VRVZuzC0Pq8XZyHTqdKEcw92g2Xh84qfZZivh37XErx9cr//HmBr6/rQ30VvQ6EpRhMrJyG1qvrROUtpu7buRp7XxD/Soa0tiHY72afmXHfKulG2bxOOwPieoCiVWXa+r/21NHY9YfCQxvWoHNRV+g8XrAA8Go611Q2gtYgM8X5Fn71Ehy4JM3Je+FIlUOV0zkL9PkSdRA5og4Eb3rQdgEz1++p6dO82PmgTTzns/+SIgzJBxBHzCi94GbOOAzpwgVFlRFqWIcjE7RWnaNw==</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>